【剧情】修复连续跳过导致卡死的问题
parent
9a6f978eee
commit
0e85d88c21
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue