From 2342df9b36409e581af39c41a77981b34b64dbc2 Mon Sep 17 00:00:00 2001 From: CloudJ Date: Mon, 5 Jun 2023 15:20:29 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E5=85=85=E7=A4=BC=E5=8C=85=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/userdata/shop/shop_data.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lua/app/userdata/shop/shop_data.lua b/lua/app/userdata/shop/shop_data.lua index 0e3708ac..01824d29 100644 --- a/lua/app/userdata/shop/shop_data.lua +++ b/lua/app/userdata/shop/shop_data.lua @@ -766,14 +766,12 @@ function ShopData:getHasGotFirstRechargeReward() return boughtNum > 0 end --- 侧边栏是否展示 要求功能开启 等级不低于2 未领取该奖励 +-- 侧边栏是否展示 要求功能开启 未领取该奖励 function ShopData:getShowFirstRechargeSideBar() if not self:getIsFirstRechargeOpen() then return false end - - local lv = DataManager.PlayerData:getLv() - if lv > 1 and not self:getHasGotFirstRechargeReward() then + if not self:getHasGotFirstRechargeReward() then return true else return false