change object flipping

This commit is contained in:
Chr1Z93 2024-11-01 00:37:26 +01:00
parent 4197d6ada2
commit 5eaf794f06

View File

@ -225,11 +225,7 @@ function onObjectEnterZone(zone, object)
elseif zone.type == "Hand" and object.type == "Card" then
-- make sure the card is face-up
if object.is_face_down then
if object.held_by_color then
object.held_flip_index = 0
else
object.flip()
end
object.flip()
end
-- maybe reset data about sealed tokens (if that function exists)