Fixed token rotation

This commit is contained in:
Chr1Z93 2024-07-26 09:37:22 +02:00
parent ba8f6c9c3e
commit b38330ebba

View File

@ -20,6 +20,7 @@ function onScriptingButtonDown(index, playerColor)
local rotation = { x = 0, y = Player[playerColor].getPointerRotation(), z = 0 } local rotation = { x = 0, y = Player[playerColor].getPointerRotation(), z = 0 }
local position = Player[playerColor].getPointerPosition() + Vector(0, 0.2, 0) local position = Player[playerColor].getPointerPosition() + Vector(0, 0.2, 0)
callback = nil
-- check for subtype of resource based on card below -- check for subtype of resource based on card below
if tokenType == "resource" then if tokenType == "resource" then