parent
4b54b188ab
commit
9a3ef2bf71
|
|
@ -208,7 +208,7 @@ function this:BindEvent()
|
||||||
if BattleManager.IsCanOperate() and not BattleLogic.IsEnd then
|
if BattleManager.IsCanOperate() and not BattleLogic.IsEnd then
|
||||||
BattleView.EndBattle()
|
BattleView.EndBattle()
|
||||||
BattleLogic.IsEnd = true
|
BattleLogic.IsEnd = true
|
||||||
this:ClosePanel()
|
--this:ClosePanel()
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
@ -639,7 +639,7 @@ function this.ShowBattleResult(result, msg)
|
||||||
UIManager.OpenPanel(UIName.BattleWinPopup, this, isBack, fightType, this.lastBattleResult)
|
UIManager.OpenPanel(UIName.BattleWinPopup, this, isBack, fightType, this.lastBattleResult)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
LogRed("result:"..tostring(result))
|
LogRed("result==============================================:"..tostring(result))
|
||||||
if result == 0 then -- 失败
|
if result == 0 then -- 失败
|
||||||
local haveRecord = BattleRecordManager.isHaveRecord()
|
local haveRecord = BattleRecordManager.isHaveRecord()
|
||||||
UIManager.OpenPanel(UIName.BattleFailPopup, this, haveRecord,nil,fightType)
|
UIManager.OpenPanel(UIName.BattleFailPopup, this, haveRecord,nil,fightType)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue