maybe the last change?

This commit is contained in:
dscarpac 2024-07-07 18:07:30 -05:00
parent 7985855573
commit ee3f01cd29

View File

@ -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