Use onRotate instead of onObjectRotate for configuration token

Was causing it to change API source every time you flipped any object
in the game
This commit is contained in:
Adam Goldsmith 2021-09-05 10:07:41 -04:00
parent 496fc4aa14
commit 205c943b7e

View File

@ -163,7 +163,7 @@ configuration = {
}
function onObjectRotate(object, spin, flip, player_color, old_spin, old_flip)
function onRotate(spin, flip, player_color, old_spin, old_flip)
if flip == 0 then
configuration.api_uri = "https://arkhamdb.adamgoldsmith.name/api/public"
getObjectFromGUID("a28140").UI.setXml('<Text fontSize="25" color="orange" position="17 -74 -11" rotation="0 0 180">Adam</Text>')