Adds the ability to not play admin sounds (#8242)

Co-authored-by: ike709 <ike709@github.com>
Co-authored-by: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
This commit is contained in:
ike709
2022-06-02 08:41:19 -05:00
committed by GitHub
parent 5b3a87180f
commit 5ae56c67e1
7 changed files with 122 additions and 14 deletions

View File

@@ -395,6 +395,13 @@ namespace Content.Shared.CCVar
public static readonly CVarDef<bool> LobbyMusicEnabled =
CVarDef.Create("ambience.lobbymusicenabled", true, CVar.ARCHIVE | CVar.CLIENTONLY);
/*
* Admin sounds
*/
public static readonly CVarDef<bool> AdminSoundsEnabled =
CVarDef.Create("audio.adminsoundsenabled", true, CVar.ARCHIVE | CVar.CLIENTONLY);
/*
* HUD
*/