mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Adds Play Internet Sound (#28183)
* death to the OGG * lint * adresses issues * nukes shells * sounds should still stop even if you muted someone * Update code/modules/admin/verbs/playsound.dm Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> Signed-off-by: Bm0n <92271472+Bm0n@users.noreply.github.com> * deconflict * as mentioned * minortypomoment * i prefer this wording * updates catches and moves admin logging.fixes span * fixes another weird edge case with muting admins * 516 support * linters? * further idiot proofing * typescript player update * more typescript player updates --------- Signed-off-by: Bm0n <92271472+Bm0n@users.noreply.github.com> Co-authored-by: Bmon <no@email.com> Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
This commit is contained in:
co-authored by
AffectedArc07
Bmon
parent
8e6c2f3d8c
commit
8bec408c29
@@ -192,10 +192,12 @@
|
||||
|
||||
if("silenceSound")
|
||||
usr.stop_sound_channel(CHANNEL_ADMIN)
|
||||
tgui_panel?.stop_music()
|
||||
return
|
||||
|
||||
if("muteAdmin")
|
||||
usr.stop_sound_channel(CHANNEL_ADMIN)
|
||||
tgui_panel?.stop_music()
|
||||
prefs.admin_sound_ckey_ignore |= href_list["a"]
|
||||
to_chat(usr, "You will no longer hear admin playsounds from <code>[href_list["a"]]</code>. To remove them, go to Preferences --> <code>Manage Admin Sound Mutes</code>.")
|
||||
prefs.save_preferences(src)
|
||||
|
||||
@@ -322,6 +322,7 @@
|
||||
set category = "Special Verbs"
|
||||
set desc = "Silence the current admin midi playing"
|
||||
usr.stop_sound_channel(CHANNEL_ADMIN)
|
||||
tgui_panel?.stop_music()
|
||||
to_chat(src, "The current admin midi has been silenced")
|
||||
|
||||
/datum/preference_toggle/toggle_runechat
|
||||
|
||||
Reference in New Issue
Block a user