整理时处理反了
This commit is contained in:
parent
4727b573f1
commit
a430306743
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user