From 19b69a3cee41cbe7991a62476aee0b1ae68b9482 Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Mon, 2 Jan 2023 02:27:45 +0100 Subject: [PATCH] add upwards shift --- src/core/token/TokenManager.ttslua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/token/TokenManager.ttslua b/src/core/token/TokenManager.ttslua index 84d2daa3..ef7dd013 100644 --- a/src/core/token/TokenManager.ttslua +++ b/src/core/token/TokenManager.ttslua @@ -189,7 +189,7 @@ do end TokenManager.spawnResourceCounterToken = function(card, tokenCount) - local pos = card.getPosition() + Vector(0, 0.2, 0) + local pos = card.positionToWorld(card.positionToLocal(card.getPosition()) + Vector(0, 0.2, -0.5)) local rot = card.getRotation() TokenManager.spawnToken(pos, "resourceCounter", rot, function(spawned) spawned.call("updateVal", tokenCount)