From f75b844961d90946518eaa8f15a76c8176ce80d9 Mon Sep 17 00:00:00 2001 From: gaoxin Date: Sat, 3 Jul 2021 15:26:58 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=8B=8D=E8=84=B8=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=81=B6=E7=8E=B0=E6=A0=88=E7=A9=BA=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ManagedResources/~Lua/Modules/Expert/PatFaceManager.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Expert/PatFaceManager.lua b/Assets/ManagedResources/~Lua/Modules/Expert/PatFaceManager.lua index c7dba10aa7..e419c08844 100644 --- a/Assets/ManagedResources/~Lua/Modules/Expert/PatFaceManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Expert/PatFaceManager.lua @@ -364,7 +364,9 @@ function this.OpenPatFacePanel(_patFaceAllData) this.time2 = nil end this.time2 = Timer.New(function() - this.patFaceCallList:Pop()() + if this.patFaceCallList.count > 0 then + this.patFaceCallList:Pop()() + end this.time2 = nil end, 0.5) this.time2:Start()