Merge pull request #650 from Carn/Issue630

Fixes #630 - The null-sound used to stop currently playing music was bei...
This commit is contained in:
Pete Goodfellow
2013-05-28 11:31:04 -07:00
+1 -1
View File
@@ -79,10 +79,10 @@
prefs.save_preferences()
if(prefs.toggles & SOUND_MIDI)
src << "You will now hear any sounds uploaded by admins."
else
var/sound/break_sound = sound(null, repeat = 0, wait = 0, channel = 777)
break_sound.priority = 250
src << break_sound //breaks the client's sound output on channel 777
else
src << "You will no longer hear sounds uploaded by admins; any currently playing midis have been disabled."
feedback_add_details("admin_verb","TMidi") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!