additional condition: existing memo

This commit is contained in:
Chr1Z93 2023-04-20 23:01:13 +02:00
parent b1b384c1a2
commit d1da16d73b

View File

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