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