fix bug
This commit is contained in:
parent
1a4a8ff880
commit
027fa61721
@ -355,7 +355,7 @@ function SummonMainUI:onSummon(count, isAd)
|
||||
return
|
||||
else
|
||||
for i, cost in ipairs(costs) do
|
||||
if not GFunc.checkCost(cost.id, GFunc.getRewardNum(cost) * count, true) then
|
||||
if not GFunc.checkCost(cost.id, GFunc.getRewardNum(cost), true) then
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user