From cd8f61cbedc7be335effee0582525a8039498f8e Mon Sep 17 00:00:00 2001 From: ZhangBiao Date: Fri, 5 Nov 2021 10:04:32 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=97=A0=E5=B0=BD=E5=89=AF=E6=9C=AC?= =?UTF-8?q?=E3=80=91=E8=A1=8C=E5=8A=A8=E5=8A=9B=E4=B8=8D=E5=87=8F=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Carbon/EndLessCarbonPanel.lua | 1 + .../~Lua/Modules/Map/View/EndLessMapView.lua | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Carbon/EndLessCarbonPanel.lua b/Assets/ManagedResources/~Lua/Modules/Carbon/EndLessCarbonPanel.lua index 5336a9a2a5..c5fef4a5f0 100644 --- a/Assets/ManagedResources/~Lua/Modules/Carbon/EndLessCarbonPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Carbon/EndLessCarbonPanel.lua @@ -222,6 +222,7 @@ function this.ShowCountTime() end if leftTime < 0 then leftTime = 0 + PlayerManager.RefreshItemNumBySerTime() end this.actCountTime.text = GetTimeMaoHaoStrBySeconds(math.floor(leftTime)).."后恢复1点" end, 1, -1, true) diff --git a/Assets/ManagedResources/~Lua/Modules/Map/View/EndLessMapView.lua b/Assets/ManagedResources/~Lua/Modules/Map/View/EndLessMapView.lua index 97ba5c9685..de390050d2 100644 --- a/Assets/ManagedResources/~Lua/Modules/Map/View/EndLessMapView.lua +++ b/Assets/ManagedResources/~Lua/Modules/Map/View/EndLessMapView.lua @@ -767,10 +767,11 @@ function EndLessMapView:ShowCountTime() end if leftTime < 0 then leftTime = 0 + PlayerManager.RefreshItemNumBySerTime() end - if not this.isPanelClose then - this.actCountTime.text = GetTimeMaoHaoStrBySeconds(math.floor(leftTime)).."后恢复1点" - end + if not this.isPanelClose then + this.actCountTime.text = GetTimeMaoHaoStrBySeconds(math.floor(leftTime)).."后恢复1点" + end end, 1, -1, true) this.timer:Start() end