Fixes jukebox actually using preferences (Volume and Head Streaming)

This commit is contained in:
Tastyfish
2016-02-24 00:22:37 -05:00
parent 0266fe9109
commit 41cee29623
2 changed files with 11 additions and 13 deletions
+1 -1
View File
@@ -201,7 +201,7 @@
prefs.save_preferences(src)
usr << "You will [(prefs.sound & SOUND_STREAMING) ? "now" : "no longer"] hear streamed media."
if(!media) return
if(prefs.toggles & SOUND_STREAMING)
if(prefs.sound & SOUND_STREAMING)
media.update_music()
else
media.stop_music()