修复在手机上战斗报错

dev_chengFeng
JieLing 2020-09-27 20:54:50 +08:00
parent 947d647266
commit 223f8b11b4
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
BattleLogManager = {} BattleLogManager = {}
local this = 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 local isDebug = false
function LogBattle(str) function LogBattle(str)
@ -13,7 +14,7 @@ function LogBattle(str)
end end
end end
local isLog = true or isEditor local isLog = (true and not isMobile) or isEditor
local function pairsByKeys(t) local function pairsByKeys(t)
local a = {} local a = {}