smooth moving interrupt handling

This commit is contained in:
Chr1Z93 2024-11-22 01:13:23 +01:00
parent 14bf7c8dd5
commit 67ff395b11

View File

@ -304,6 +304,10 @@ function onPlayerAction(player, action, targets)
end
end
function onObjectPickUp(_, object)
stopTokenTransformUpdating(object)
end
---------------------------------------------------------
-- chaos token drawing
---------------------------------------------------------
@ -2913,7 +2917,9 @@ function stopTokenTransformUpdating(card)
end
end
cardTokens[card] = nil
if card ~= nil then
card.use_hands = true
end
end
-- removes tokens from the provided card/deck