【剧情】修复连续跳过导致卡死的问题

dev_chengFeng
gaoxin 2021-06-05 03:10:19 +08:00
parent 9a6f978eee
commit 0e85d88c21
1 changed files with 8 additions and 6 deletions

View File

@ -55,11 +55,13 @@ end
--绑定事件(用于子类重写) --绑定事件(用于子类重写)
function StoryMapPanel:BindEvent() function StoryMapPanel:BindEvent()
Util.AddClick(this.btnSkip, function () Util.AddClick(this.btnSkip, function ()
--StoryMapManager.GetSingleStoryConfig() if not isSkip then
MsgPanel.ShowTwo("是否跳过这段剧情?",function() end,function() --StoryMapManager.GetSingleStoryConfig()
isSkip = true MsgPanel.ShowTwo("是否跳过这段剧情?",function() end,function()
this:StackPop() isSkip = true
end,"取消","确认") this:StackPop()
end,"取消","确认")
end
end) end)
Util.AddClick(this.btnGoOn, function () Util.AddClick(this.btnGoOn, function ()
this:ShowDialog() this:ShowDialog()