From 16268410b7fab7e10dd8397e94ef5481d6f21bd3 Mon Sep 17 00:00:00 2001 From: gaoxin Date: Tue, 27 Apr 2021 15:49:56 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=8B=8D=E8=84=B8=E3=80=91=E9=83=A8?= =?UTF-8?q?=E5=88=86=E7=95=8C=E9=9D=A2=E9=94=80=E6=AF=81=E5=90=8E=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Expert/PatFaceManager.lua b/Assets/ManagedResources/~Lua/Modules/Expert/PatFaceManager.lua index 7a44e9bd24..db1e7778ef 100644 --- a/Assets/ManagedResources/~Lua/Modules/Expert/PatFaceManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Expert/PatFaceManager.lua @@ -294,11 +294,11 @@ function this.RemainTimeDown(_timeTextExpertgo,_timeTextExpert,timeDown,str) this.timer = nil end this.timer = Timer.New(function() - if _timeTextExpert then + if _timeTextExpert and tostring(_timeTextExpert) ~= "null" then if str then - _timeTextExpert.text = str..this.TimeStampToDateString(timeDown) + _timeTextExpert.text = str..this.TimeStampToDateString(timeDown) else - _timeTextExpert.text = Language[10023]..this.TimeStampToDateString(timeDown) + _timeTextExpert.text = Language[10023]..this.TimeStampToDateString(timeDown) end end if timeDown < 0 then