From e7a695553f3b2389279f4d26753cd9a08aea80ff Mon Sep 17 00:00:00 2001 From: jiaoyangna <3046463818@qq.com> Date: Thu, 15 Oct 2020 17:27:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=A9=E8=BE=95=E5=AE=9D=E9=95=9C=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E6=97=B6=E9=94=80=E6=AF=81=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Carbon/XuanYuanMirrorPanel.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Assets/ManagedResources/~Lua/Modules/Carbon/XuanYuanMirrorPanel.lua b/Assets/ManagedResources/~Lua/Modules/Carbon/XuanYuanMirrorPanel.lua index 01ee584bd1..3eaf2efae6 100644 --- a/Assets/ManagedResources/~Lua/Modules/Carbon/XuanYuanMirrorPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Carbon/XuanYuanMirrorPanel.lua @@ -239,6 +239,10 @@ end --界面关闭时调用(用于子类重写) function this:OnClose() + if self.timer then + self.timer:Stop() + self.timer = nil + end this.isPlayDoorAudio = false self.gameObject:SetActive(false) PlayerManager.carbonType = 2