mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 21:19:44 +01:00
Revert "Merge pull request #16240 from ShadowLarkens/revert"
This reverts commit885171f985, reversing changes made to3e314f8064.
This commit is contained in:
@@ -137,9 +137,9 @@
|
||||
|
||||
// Tell the player to play something via JS.
|
||||
/datum/media_manager/proc/send_update()
|
||||
if(!(owner.prefs))
|
||||
if(!owner.prefs)
|
||||
return
|
||||
if(!owner.is_preference_enabled(/datum/client_preference/play_jukebox) && url != "")
|
||||
if(!owner.prefs.read_preference(/datum/preference/toggle/play_jukebox) && url != "")
|
||||
return // Don't send anything other than a cancel to people with SOUND_STREAMING pref disabled
|
||||
MP_DEBUG("<span class='good'>Sending update to mediapanel ([url], [(world.time - start_time) / 10], [volume * source_volume])...</span>")
|
||||
owner << output(list2params(list(url, (world.time - start_time) / 10, volume * source_volume)), "[WINDOW_ID]:SetMusic")
|
||||
|
||||
Reference in New Issue
Block a user