From 502f35bf2e1c22f6bc87c1f415d564412943e9cf Mon Sep 17 00:00:00 2001 From: chenxi Date: Fri, 19 May 2023 17:08:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=93=E5=8A=9B=E4=B8=8D=E8=B6=B3=E5=BE=97?= =?UTF-8?q?=E6=97=B6=E5=80=99=E5=BC=B9=E5=87=BA=E6=9D=A5=E8=B4=AD=E4=B9=B0?= =?UTF-8?q?=E4=BD=93=E5=8A=9B=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/module/idle/idle_manager.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/app/module/idle/idle_manager.lua b/lua/app/module/idle/idle_manager.lua index 87899313..5d7723b0 100644 --- a/lua/app/module/idle/idle_manager.lua +++ b/lua/app/module/idle/idle_manager.lua @@ -45,6 +45,9 @@ function IdleManager:getIdleQuickRewrad(isAd) local costId = GFunc.getRewardId(cost) local costNum = GFunc.getRewardNum(cost) if not GFunc.checkCost(costId, costNum, true) then + if costId == GConst.ItemConst.ITEM_ID_VIT then + ModuleManager.CommerceManager:showBuyVitUI() + end return end local args = {