testing issues

This commit is contained in:
dscarpac 2024-07-30 22:19:44 -05:00
parent 62d9671864
commit 34de9c1d01

View File

@ -184,6 +184,7 @@ function readBag()
end
function resetSealedTokens()
log("Resetting")
sealedTokens = {}
end
@ -244,6 +245,8 @@ function releaseOneToken(playerColor)
else
printToColor("Releasing token", playerColor)
putTokenAway(table.remove(sealedTokens))
log("Removed one")
log(#sealedTokens)
end
end
@ -275,6 +278,8 @@ function releaseAllTokens(playerColor)
for _, guid in ipairs(sealedTokens) do
putTokenAway(guid)
end
log("Removed all")
log(#sealedTokens)
sealedTokens = {}
end
end