Fixes streaming music bug

This commit is contained in:
ZomgPonies
2014-06-17 11:03:10 -04:00
parent 1132879810
commit 2db1c0c5ab
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -198,7 +198,8 @@
prefs.sound ^= SOUND_STREAMING
prefs.save_preferences(src)
usr << "You will [(prefs.toggles & SOUND_STREAMING) ? "now" : "no longer"] hear streamed media."
usr << "You will [(prefs.sound & SOUND_STREAMING) ? "now" : "no longer"] hear streamed media."
// Restart.
media.stop_music()
media.update_music()
if(media)
media.stop_music()
media.update_music()