mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-15 01:54:52 +01:00
The final solution of bad taste in midis question
The final solution of bad taste in midis question Added special client verb that kills all sounds currently playing for this client This is better because toggle midis only pauses them, not actually stops them
This commit is contained in:
@@ -52,7 +52,7 @@ var/sound/admin_sound
|
||||
|
||||
/client/proc/stop_sounds()
|
||||
set category = "Debug"
|
||||
set name = "Stop Sounds"
|
||||
set name = "Stop All Playing Sounds"
|
||||
if(!src.holder) return
|
||||
|
||||
log_admin("[key_name(src)] stopped all currently playing sounds.")
|
||||
@@ -60,6 +60,6 @@ var/sound/admin_sound
|
||||
for(var/mob/M in player_list)
|
||||
if(M.client)
|
||||
M << sound(null)
|
||||
feedback_add_details("admin_verb","SS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
feedback_add_details("admin_verb","SAPS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
#undef SOUND_CHANNEL_ADMIN
|
||||
Reference in New Issue
Block a user