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)
|
||||
return
|
||||
end
|
||||
|
||||
local numRemoved = SHOW_MULTI_RELEASE
|
||||
if #sealedTokens < SHOW_MULTI_RELEASE then
|
||||
numRemoved = #sealedTokens
|
||||
else
|
||||
numRemoved = SHOW_MULTI_RELEASE
|
||||
end
|
||||
|
||||
for i = 1, numRemoved do
|
||||
putTokenAway(table.remove(sealedTokens))
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user