add upwards shift
This commit is contained in:
parent
e3a1a0ce2d
commit
19b69a3cee
@ -189,7 +189,7 @@ do
|
|||||||
end
|
end
|
||||||
|
|
||||||
TokenManager.spawnResourceCounterToken = function(card, tokenCount)
|
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()
|
local rot = card.getRotation()
|
||||||
TokenManager.spawnToken(pos, "resourceCounter", rot, function(spawned)
|
TokenManager.spawnToken(pos, "resourceCounter", rot, function(spawned)
|
||||||
spawned.call("updateVal", tokenCount)
|
spawned.call("updateVal", tokenCount)
|
||||||
|
Loading…
Reference in New Issue
Block a user