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

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

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