Merge pull request #780 from argonui/token-rotation

Fixed token rotation from last action token persisting
This commit is contained in:
dscarpac 2024-07-26 09:01:15 -07:00 committed by GitHub
commit 2e70ddd09b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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