Merge pull request #274 from argonui/token-discard-bugfix
Playermat: additional condition for discarding tokens
This commit is contained in:
commit
e4bf68c29e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user