From 31e6dbf9693c9f545c091e819c27f45532e57d6c Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Sun, 8 Jan 2023 22:25:47 +0100 Subject: [PATCH] fixing position --- src/playermat/Playmat.ttslua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playermat/Playmat.ttslua b/src/playermat/Playmat.ttslua index 105af4b1..c60cdcfb 100644 --- a/src/playermat/Playmat.ttslua +++ b/src/playermat/Playmat.ttslua @@ -175,7 +175,7 @@ function makeDiscardHandlerFor(searchPosition, discardPosition) local obj = hitObj.hit_object if obj.tag == "Deck" or obj.tag == "Card" then if obj.hasTag("PlayerCard") then - obj.setPositionSmooth(DISCARD_PILE_POSITION, false, true) + obj.setPositionSmooth(self.positionToWorld(DISCARD_PILE_POSITION), false, true) obj.setRotation(PLAY_ZONE_ROTATION) else obj.setPositionSmooth(discardPosition, false, true)