testing issues
This commit is contained in:
parent
62d9671864
commit
34de9c1d01
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user