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:
parent
496fc4aa14
commit
205c943b7e
@ -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>')
|
||||
|
Loading…
Reference in New Issue
Block a user