【战斗】主动上报日志功能关闭

dev_chengFeng
gaoxin 2021-03-22 20:37:34 +08:00
parent 52cace8d64
commit 7fb9a6ea71
1 changed files with 10 additions and 10 deletions

View File

@ -171,16 +171,16 @@ end
-- 上报战斗日志
function this.SubmitBattleRecord()
if not this.isSubmit then
PopupTipPanel.ShowTip(Language[10204])
return
end
local _, rcd = this.isHaveRecord()
if rcd then
NetManager.GMEvent("//".. (rcd.fightId or "") .."|".. PlayerManager.uid .."|"..rcd.seed.."|"..rcd.fightMaxRound.."|"..BattleManager.PrintBattleTable(rcd.fightData))
end
this.isSubmit = false
PopupTipPanel.ShowTip(Language[10205])
-- if not this.isSubmit then
-- PopupTipPanel.ShowTip(Language[10204])
-- return
-- end
-- local _, rcd = this.isHaveRecord()
-- if rcd then
-- NetManager.GMEvent("//".. (rcd.fightId or "") .."|".. PlayerManager.uid .."|"..rcd.seed.."|"..rcd.fightMaxRound.."|"..BattleManager.PrintBattleTable(rcd.fightData))
-- end
-- this.isSubmit = false
-- PopupTipPanel.ShowTip(Language[10205])
end
-- 上报战斗日志