Fixed token rotation
This commit is contained in:
parent
ba8f6c9c3e
commit
b38330ebba
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user