updated detection
This commit is contained in:
parent
e66dbc19a5
commit
ed84e03cee
@ -2895,7 +2895,7 @@ function storeTokenTransform(card)
|
|||||||
cardTokens[card] = {}
|
cardTokens[card] = {}
|
||||||
local cardRot = card.getRotation()
|
local cardRot = card.getRotation()
|
||||||
for _, token in ipairs(searchLib.onObject(card, "isTileOrToken", 0.95)) do
|
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
|
-- offset to stop the token from colliding with the card
|
||||||
local tokenPos = token.getPosition() + Vector(0, 0.05, 0)
|
local tokenPos = token.getPosition() + Vector(0, 0.05, 0)
|
||||||
token.setPosition(tokenPos)
|
token.setPosition(tokenPos)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user