From bebe35954f30e5297a2d26398c714f4ef2a5329d Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Sun, 8 May 2022 06:47:42 -0500 Subject: [PATCH] Fix positional streaming radio --- scripts/client/sync.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/client/sync.js b/scripts/client/sync.js index 48755de7..aab557f8 100644 --- a/scripts/client/sync.js +++ b/scripts/client/sync.js @@ -39,7 +39,7 @@ function processSync(event, deltaTime) { } if(streamingRadioElement) { - streamingRadio.position = getElementPosition(streamingRadioElement); + streamingRadio.position = getElementPosition(streamingRadioElement.id); //streamingRadio.volume = getStreamingRadioVolumeForPosition(streamingRadio.position); } }