Revert "Sounds, New Announcer, announce uses local reverb"

This reverts commit f2da13b759.
This commit is contained in:
QuoteFox
2021-03-23 18:55:58 +00:00
parent 04339e805c
commit 35d4666715
35 changed files with 1 additions and 9 deletions
+1 -2
View File
@@ -34,8 +34,7 @@
if(!isnewplayer(M) && M.can_hear())
to_chat(M, announcement)
if(M.client.prefs.toggles & SOUND_ANNOUNCEMENTS)
// SEND_SOUND(M, s)
M.playsound_local(get_turf(M), s, 70, FALSE, pressure_affected = FALSE, use_reverb = TRUE)
SEND_SOUND(M, s)
/proc/print_command_report(text = "", title = null, announce=TRUE)
if(!title)
@@ -76,8 +76,6 @@
controller.onlyOpen(door)
else
controller.cycleClose(door)
playsound(src, 'sound/AI/airlock.ogg', 35, 0, -1)
else
controller.onlyClose(door)
sleep(20)
@@ -142,16 +140,13 @@
onlyClose(interiorAirlock)
if("cycle_exterior")
cycleClose(exteriorAirlock)
playsound(src, 'sound/AI/airlock.ogg', 35, 0, -1)
if("cycle_interior")
cycleClose(interiorAirlock)
playsound(src, 'sound/AI/airlock.ogg', 35, 0, -1)
if("open_exterior")
onlyOpen(exteriorAirlock)
if("open_interior")
onlyOpen(interiorAirlock)
/obj/machinery/doorButtons/airlock_controller/proc/onlyOpen(obj/machinery/door/airlock/A)
if(A)
busy = CLOSING
-2
View File
@@ -385,11 +385,9 @@ GLOBAL_LIST_INIT(department_radio_keys, list(
if(imp?.radio.on)
if(message_mode == MODE_HEADSET)
imp.radio.talk_into(src, message, , spans, language)
playsound(src, 'sound/effects/radio_send.ogg', 35, 1, -1)
return ITALICS | REDUCE_RANGE
if(message_mode == MODE_DEPARTMENT || message_mode in GLOB.radiochannels)
imp.radio.talk_into(src, message, message_mode, spans, language)
playsound(src, 'sound/effects/radio_send.ogg', 35, 1, -1)
return ITALICS | REDUCE_RANGE
switch(message_mode)