updated detection

This commit is contained in:
Chr1Z93 2024-11-20 23:45:55 +01:00
parent e66dbc19a5
commit ed84e03cee

View File

@ -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)