修复在手机上战斗报错
parent
947d647266
commit
223f8b11b4
|
@ -1,6 +1,7 @@
|
|||
BattleLogManager = {}
|
||||
local this = BattleLogManager
|
||||
local isEditor = AppConst and AppConst.Platform == "EDITOR"
|
||||
local isEditor = AppConst and AppConst.Platform == "EDITOR"
|
||||
local isMobile = AppConst and (AppConst.Platform == "ANDROID" or AppConst.Platform == "IOS")
|
||||
|
||||
local isDebug = false
|
||||
function LogBattle(str)
|
||||
|
@ -13,7 +14,7 @@ function LogBattle(str)
|
|||
end
|
||||
end
|
||||
|
||||
local isLog = true or isEditor
|
||||
local isLog = (true and not isMobile) or isEditor
|
||||
|
||||
local function pairsByKeys(t)
|
||||
local a = {}
|
||||
|
|
Loading…
Reference in New Issue