【切磋】战斗界面重复打开容错添加
parent
4358ef97e3
commit
54448208df
|
@ -346,7 +346,9 @@ function this.RequestPlayWithSomeOne(uid, teamId, tname, func,_isDemonstrateThei
|
||||||
|
|
||||||
local record = BattleRecordManager.GetBattleRecord()
|
local record = BattleRecordManager.GetBattleRecord()
|
||||||
local battlePanel = UIManager.OpenPanel(UIName.BattlePanel, fightData, BATTLE_TYPE.BACK, func)
|
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)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue