Merge pull request #274 from argonui/token-discard-bugfix

Playermat: additional condition for discarding tokens
This commit is contained in:
BootleggerFinn 2023-04-20 19:44:28 -05:00 committed by GitHub
commit e4bf68c29e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -696,6 +696,7 @@ function removeTokensFromObject(object)
obj ~= self and
obj.type ~= "Deck" and
obj.type ~= "Card" and
obj.memo ~= nil and
obj.getLock() == false and
obj.getDescription() ~= "Action Token" and
not tokenChecker.isChaosToken(obj) then