From a9ce0d077e88f864a603ef8c31e5d424776bee34 Mon Sep 17 00:00:00 2001 From: zhangqiang <657634622@qq.com> Date: Fri, 11 Jun 2021 10:58:51 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=AB=A0=E8=8A=82=E5=89=A7=E6=83=85?= =?UTF-8?q?=E3=80=91=E7=82=B9=E5=87=BB=E8=B7=B3=E8=BF=87=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E6=8C=82=E6=9C=BA=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Story/StoryDialoguePanel.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Assets/ManagedResources/~Lua/Modules/Story/StoryDialoguePanel.lua b/Assets/ManagedResources/~Lua/Modules/Story/StoryDialoguePanel.lua index 98820b96bf..3d6c39bbd8 100644 --- a/Assets/ManagedResources/~Lua/Modules/Story/StoryDialoguePanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Story/StoryDialoguePanel.lua @@ -60,6 +60,10 @@ function StoryDialoguePanel:BindEvent() Util.AddClick(this.btnJump, function () if jumpId == 0 then self:ClosePanel() + if static_callBack then + static_callBack() + static_callBack = nil + end else self:GoNext(jumpId) end