smooth moving interrupt handling
This commit is contained in:
parent
14bf7c8dd5
commit
67ff395b11
@ -304,6 +304,10 @@ function onPlayerAction(player, action, targets)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function onObjectPickUp(_, object)
|
||||||
|
stopTokenTransformUpdating(object)
|
||||||
|
end
|
||||||
|
|
||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
-- chaos token drawing
|
-- chaos token drawing
|
||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
@ -2913,7 +2917,9 @@ function stopTokenTransformUpdating(card)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
cardTokens[card] = nil
|
cardTokens[card] = nil
|
||||||
|
if card ~= nil then
|
||||||
card.use_hands = true
|
card.use_hands = true
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- removes tokens from the provided card/deck
|
-- removes tokens from the provided card/deck
|
||||||
|
Loading…
Reference in New Issue
Block a user