限时兑换红点提交

dev_chengFeng
jiaoyangna 2021-04-02 10:45:11 +08:00
parent 3d8fd5a748
commit 6de42f5b43
1 changed files with 3 additions and 1 deletions

View File

@ -1143,7 +1143,9 @@ function this.IsExchangeRedShow()
if not isOpen then
return false
end
if GlobalActivity[isOpen].ShowArt ~= 1 then
return false
end
local LimitExchange = ActivityGiftManager.GetActivityTypeInfo(ActivityTypeDef.LimitExchange)
local exChangeConFig = ConfigManager.GetConfigDataByKey(ConfigName.ExchangeActivityConfig, "ActivityId", LimitExchange.activityId)
if BagManager.GetItemCountById(exChangeConFig.ActivityItem) > 0 then