Add option to disable bwoink sound. (#33782)

* Add option to disable bwoink sound.

* Now it's working only with active admin status.

* No bwoink, only "notification sound"

* Moar changes

* Another one
This commit is contained in:
c4llv07e
2025-01-17 10:24:50 +03:00
committed by GitHub
parent 5d9311dff9
commit 4809ee25ff
5 changed files with 31 additions and 2 deletions

View File

@@ -21,6 +21,9 @@ public sealed partial class CCVars
public static readonly CVarDef<bool> AdminSoundsEnabled =
CVarDef.Create("audio.admin_sounds_enabled", true, CVar.ARCHIVE | CVar.CLIENTONLY);
public static readonly CVarDef<bool> BwoinkSoundEnabled =
CVarDef.Create("audio.bwoink_sound_enabled", true, CVar.ARCHIVE | CVar.CLIENTONLY);
public static readonly CVarDef<string> AdminChatSoundPath =
CVarDef.Create("audio.admin_chat_sound_path",
"/Audio/Items/pop.ogg",