From ed84e03cee29ac213bcf85d52183b6213e5f8e09 Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Wed, 20 Nov 2024 23:45:55 +0100 Subject: [PATCH] updated detection --- src/core/Global.ttslua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Global.ttslua b/src/core/Global.ttslua index 1c9d7fb8..af255245 100644 --- a/src/core/Global.ttslua +++ b/src/core/Global.ttslua @@ -2895,7 +2895,7 @@ function storeTokenTransform(card) cardTokens[card] = {} local cardRot = card.getRotation() for _, token in ipairs(searchLib.onObject(card, "isTileOrToken", 0.95)) do - if not token.locked then + if token.memo or not token.locked then -- offset to stop the token from colliding with the card local tokenPos = token.getPosition() + Vector(0, 0.05, 0) token.setPosition(tokenPos)