From aa4f3df8b0b1f402f509cc9d239a63efc2d4c1ec Mon Sep 17 00:00:00 2001 From: gaoxin Date: Thu, 10 Jun 2021 16:10:12 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=8B=8D=E8=84=B8=E3=80=91=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E7=9F=AD=E6=97=B6=E9=97=B4=E8=A7=A6=E5=8F=91=E6=8B=8D?= =?UTF-8?q?=E8=84=B8=E6=9C=89=E5=8F=AF=E8=83=BD=E5=AF=BC=E8=87=B4=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Expert/PatFaceManager.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Expert/PatFaceManager.lua b/Assets/ManagedResources/~Lua/Modules/Expert/PatFaceManager.lua index 071d2997f5..7aeb65502a 100644 --- a/Assets/ManagedResources/~Lua/Modules/Expert/PatFaceManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Expert/PatFaceManager.lua @@ -370,10 +370,15 @@ function this.OpenPatFacePanel(_patFaceAllData) this.patFaceCallList:Push(function() PatFaceManager.SetisFirstLogVal(1, { _patFaceAllData[i] }) UIManager.OpenPanel(UIName.PatFacePanel, _patFaceAllData[i], function() - local time2 = Timer.New(function() + if this.time2 then + this.time2:Stop() + this.time2 = nil + end + this.time2 = Timer.New(function() this.patFaceCallList:Pop()() + this.time2 = nil end, 0.5) - time2:Start() + this.time2:Start() end) end) end