diff --git a/Assets/ManagedResources/~Lua/Modules/Story/StoryMapPanel.lua b/Assets/ManagedResources/~Lua/Modules/Story/StoryMapPanel.lua index c10b935b33..de3352db40 100644 --- a/Assets/ManagedResources/~Lua/Modules/Story/StoryMapPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Story/StoryMapPanel.lua @@ -157,7 +157,6 @@ function StoryMapPanel:OnShow() end table.insert(this.triggerEvent,event) end - isSkip = false this.callList:Clear() for i = #this.triggerEvent,1,-1 do this.callList:Push(function() @@ -201,7 +200,9 @@ function this:CheckTrigger(data,go) -- end if data.eventType ~= 3 then this:StackPop() + return end + isSkip = false -- MsgPanel.ShowTwo("是否跳过这段剧情?",function() end,function() -- if this.callList:Count() > 0 then -- this.callList:Clear() @@ -213,7 +214,6 @@ function this:CheckTrigger(data,go) -- this:ClosePanel() -- end,"取消","确认") end - isSkip = false this.go = go this.curEvent = data if data.eventType == 1 then -- 1 对话 2跑图 3假战斗