Sfoglia il codice sorgente

修改战区争霸录像问题

gitxsm 7 mesi fa
parent
commit
1633929ad5
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      script/module/combat/CombatVideo.lua

+ 2 - 2
script/module/combat/CombatVideo.lua

@@ -346,8 +346,8 @@ function ClearOutVideoByCombatType(combatType)
 	if not combatType then
 		return
 	end
-	QueryByType.videoType = combatType
-	LuaMongo.remove(DB.db_combat_video, QueryByType)
+	local queryTb = {videoType = combatType}
+	LuaMongo.remove(DB.db_combat_video, queryTb)
 end
 
 ---------------------------------------------普通服处理------------------------------------------