From 084ed478ac00ab050b810076b64eefe52f0b6bd1 Mon Sep 17 00:00:00 2001 From: "DESKTOP-MMO982B\\User" <752966621@qq.com> Date: Tue, 28 Jul 2026 21:45:56 +0800 Subject: [PATCH] 1 --- Assets/ManagedResources/~Lua/Modules/Pay/PayManager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Pay/PayManager.lua b/Assets/ManagedResources/~Lua/Modules/Pay/PayManager.lua index 0ac7643239..7688ffbe07 100644 --- a/Assets/ManagedResources/~Lua/Modules/Pay/PayManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Pay/PayManager.lua @@ -115,7 +115,7 @@ function this.Pay(id, func) end local yhqNum = BagManager.GetItemCountById(108) - if yhqNum >= rechargeConfig.Price and rechargeConfig.Price > 0 then + if yhqNum >= rechargeConfig.Price and rechargeConfig.Price > 0 and rechargeConfig.OtherBuy1 and #rechargeConfig.OtherBuy1 > 0 then local sureFunc = function() NetManager.SendYHQBuyGoodRequest(id) end