整理时处理反了

This commit is contained in:
chenxi 2023-05-04 15:39:30 +08:00
parent 4727b573f1
commit a430306743

View File

@ -580,7 +580,7 @@ end
function GFunc.checkCost(id, num, showToast, giftType) function GFunc.checkCost(id, num, showToast, giftType)
if num <= 0 then if num <= 0 then
return false return true
end end
local count = DataManager.BagData.ItemData:getItemNumById(id) local count = DataManager.BagData.ItemData:getItemNumById(id)
if count < num then if count < num then