From 97b298d7a267a180f358a48256b509f0db1e01a6 Mon Sep 17 00:00:00 2001 From: zhangqiang <657634622@qq.com> Date: Fri, 8 Jan 2021 17:35:12 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E3=80=90=E4=B8=BB=E9=A2=98=E6=B4=BB?= =?UTF-8?q?=E5=8A=A8=E3=80=91=E9=83=A8=E5=88=86=E6=B4=BB=E5=8A=A8=E6=9C=AA?= =?UTF-8?q?=E5=85=B3=E9=97=AD=E8=AF=95=E4=BF=AE=E5=A4=8D"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit a77953351752b987be6d3d3bbd3cff993f008a9d. --- .../~Lua/Modules/ActivityGift/ActivityGiftManager.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/ActivityGift/ActivityGiftManager.lua b/Assets/ManagedResources/~Lua/Modules/ActivityGift/ActivityGiftManager.lua index 6161010bdf..df18728f04 100644 --- a/Assets/ManagedResources/~Lua/Modules/ActivityGift/ActivityGiftManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/ActivityGift/ActivityGiftManager.lua @@ -428,8 +428,8 @@ function this.IsActivityTypeOpen(type) local globalActConfigs = ConfigManager.GetAllConfigsDataByKey(ConfigName.GlobalActivity, "Type", type) local activityId = nil table.walk(globalActConfigs, function(actConfigInfo) - if this.mission and this.mission[actConfigInfo.Id] and (this.mission[actConfigInfo.Id].endTime - GetTimeStamp() > 0) then - activityId = actConfigInfo.Id + if this.mission and this.mission[actConfigInfo.Id] then + activityId = actConfigInfo.Id end end) return activityId