mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
MIDI fix import from /tg/.
This commit is contained in:
@@ -84,10 +84,10 @@
|
|||||||
prefs.save_preferences()
|
prefs.save_preferences()
|
||||||
if(prefs.toggles & SOUND_MIDI)
|
if(prefs.toggles & SOUND_MIDI)
|
||||||
src << "You will now hear any sounds uploaded by admins."
|
src << "You will now hear any sounds uploaded by admins."
|
||||||
|
else
|
||||||
var/sound/break_sound = sound(null, repeat = 0, wait = 0, channel = 777)
|
var/sound/break_sound = sound(null, repeat = 0, wait = 0, channel = 777)
|
||||||
break_sound.priority = 250
|
break_sound.priority = 250
|
||||||
src << break_sound //breaks the client's sound output on channel 777
|
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."
|
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!
|
feedback_add_details("admin_verb","TMidi") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user