diff --git a/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassMainPanel.lua b/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassMainPanel.lua index 851ac7ab9d..a23a53d4dc 100644 --- a/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassMainPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassMainPanel.lua @@ -817,13 +817,19 @@ function this.ExcuteBattle() local chapterId = math.floor(FightPointPassManager.lastPassFightId / 1000) LogError("chapterid==================="..chapterId) local curChapterId = fightLevelSetConfig[chapterId].EventId - StoryManager.EventTrigger(curChapterId, function() - LogGreen("打开挂机界面") + if curChapterId>0 then + StoryManager.EventTrigger(curChapterId, function() + LogGreen("打开挂机界面") + UIManager.OpenPanel(UIName.FightPointPassMainPanel) + end) + else UIManager.OpenPanel(UIName.FightPointPassMainPanel) - end) + end + return end + if isCounting then PopupTipPanel.ShowTip(Language[10615]) return end local curFightId = FightPointPassManager.curOpenFight local state, tip = FightPointPassManager.IsCanFight(curFightId)