TCX_LongZhu
PC-202302260912\Administrator 2025-09-09 23:10:47 +08:00
parent 1585ed5dcc
commit ce391256ed
1 changed files with 3 additions and 1 deletions

View File

@ -215,9 +215,10 @@ function this:BindEvent()
return return
end end
if BattleManager.IsCanOperate() and not BattleLogic.IsEnd then if BattleManager.IsCanOperate() and not BattleLogic.IsEnd then
--this:ClosePanel()
BattleView.EndBattle() BattleView.EndBattle()
BattleLogic.IsEnd = true BattleLogic.IsEnd = true
this:ClosePanel() --this:ClosePanel()
end end
end) end)
end end
@ -1016,6 +1017,7 @@ end
--界面关闭时调用(用于子类重写) --界面关闭时调用(用于子类重写)
function this:OnClose() function this:OnClose()
LogError("dddddddddddddddddddddd")
BattleView:OnClose() BattleView:OnClose()
-- 停止音效 -- 停止音效
--if this.resultSoundAudio then --if this.resultSoundAudio then