mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-21 03:51:49 +01:00
Fixes Toggle Ambient Hum SFX Verb on Mobs (#14711)
This commit is contained in:
@@ -34,9 +34,8 @@
|
||||
else
|
||||
to_chat(src, SPAN_INFO("You will no longer hear ambient sounds."))
|
||||
src << sound(null, repeat = 0, wait = 0, volume = 0, channel = 1) // Ambience plays on channel 1.
|
||||
feedback_add_details("admin_verb", "TSFXAmbi") // If you are copy pasting this, ensure the 2nd parameter is unique to the new proc.
|
||||
|
||||
/client/verb/toggle_asfx_hum(var/mob/living/L)
|
||||
/client/verb/toggle_asfx_hum()
|
||||
set name = "Toggle Ambient Hum SFX"
|
||||
set category = "Preferences"
|
||||
set desc = "Toggles hearing the ambient hum sound effect"
|
||||
@@ -48,8 +47,7 @@
|
||||
else
|
||||
to_chat(src, SPAN_INFO("You will no longer hear the ambient hum sound."))
|
||||
src << sound(null, repeat = 0, wait = 0, volume = 0, channel = 2) // Ambient hum plays on channel 2.
|
||||
L.client.ambient_hum_playing = FALSE
|
||||
feedback_add_details("admin_verb", "TSFXHum")
|
||||
ambient_hum_playing = FALSE
|
||||
|
||||
//
|
||||
// SFX Toggles
|
||||
|
||||
Reference in New Issue
Block a user