smooth moving interrupt handling
This commit is contained in:
parent
14bf7c8dd5
commit
67ff395b11
@ -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
|
||||
card.use_hands = true
|
||||
if card ~= nil then
|
||||
card.use_hands = true
|
||||
end
|
||||
end
|
||||
|
||||
-- removes tokens from the provided card/deck
|
||||
|
Loading…
Reference in New Issue
Block a user