【切磋】战斗界面重复打开容错添加

dev_chengFeng
gaoxin 2021-08-02 15:33:50 +08:00
parent 4358ef97e3
commit 54448208df
1 changed files with 3 additions and 1 deletions

View File

@ -346,7 +346,9 @@ function this.RequestPlayWithSomeOne(uid, teamId, tname, func,_isDemonstrateThei
local record = BattleRecordManager.GetBattleRecord()
local battlePanel = UIManager.OpenPanel(UIName.BattlePanel, fightData, BATTLE_TYPE.BACK, func)
battlePanel:SetResult(record.result)
if battlePanel then
battlePanel:SetResult(record.result)
end
end)
end