maybe the last change?
This commit is contained in:
parent
7985855573
commit
ee3f01cd29
@ -253,11 +253,12 @@ function releaseMultipleTokens(playerColor)
|
|||||||
printToColor("Not enough tokens sealed.", playerColor)
|
printToColor("Not enough tokens sealed.", playerColor)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local numRemoved = SHOW_MULTI_RELEASE
|
||||||
if #sealedTokens < SHOW_MULTI_RELEASE then
|
if #sealedTokens < SHOW_MULTI_RELEASE then
|
||||||
numRemoved = #sealedTokens
|
numRemoved = #sealedTokens
|
||||||
else
|
|
||||||
numRemoved = SHOW_MULTI_RELEASE
|
|
||||||
end
|
end
|
||||||
|
|
||||||
for i = 1, numRemoved do
|
for i = 1, numRemoved do
|
||||||
putTokenAway(table.remove(sealedTokens))
|
putTokenAway(table.remove(sealedTokens))
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user