Another bit of renaming, and now is in mirrors into Server Options

Flipped the On/Off switch on Server Voice Chat & Deafen, put the server VC options in Server Options too
This commit is contained in:
VelocitOni 2025-07-24 22:02:07 -04:00
parent aa0667bac3
commit 2c98eefa8d
3 changed files with 5 additions and 5 deletions

View file

@ -1371,7 +1371,7 @@ consvar_t cv_consolechat = Player("chatmode", "Yes").values({{0, "Yes"}, {2, "No
// When off, inbound voice packets are ignored
void VoiceChat_OnChange(void);
consvar_t cv_voice_chat = Player("voice_chat", "Off")
consvar_t cv_voice_chat = Player("voice_chat", "On")
.on_off()
.onchange(VoiceChat_OnChange)
.description("Whether voice chat is played or not. Shown as self-deafen to others.");
@ -1434,7 +1434,7 @@ consvar_t cv_voice_concurrentattenuation_max = NetVar("voice_concurrentattenuati
void Mute_OnChange(void);
void VoiceMute_OnChange(void);
consvar_t cv_mute = UnsavedNetVar("mute", "Off").on_off().onchange(Mute_OnChange);
consvar_t cv_voice_servermute = NetVar("voice_servermute", "On")
consvar_t cv_voice_servermute = NetVar("voice_servermute", "Off")
.on_off()
.onchange(VoiceMute_OnChange)
.description("If On, the server will not broadcast voice chat to clients");

View file

@ -89,7 +89,7 @@ menuitem_t OPTIONS_Server[] =
{IT_HEADER, "Voice Chat...", NULL,
NULL, {NULL}, 0, 0},
{IT_STRING | IT_CVAR, "No Server Voice Chat", "All voice chat will be disabled on your server.",
{IT_STRING | IT_CVAR, "Server Voice Chat", "All voice chat will be disabled on your server.",
NULL, {.cvar = &cv_voice_servermute}, 0, 0},
{IT_STRING | IT_CVAR, "Proximity Effects", "Player voices will be adjusted relative to you.",

View file

@ -19,7 +19,7 @@ menuitem_t OPTIONS_Voice[] =
{IT_STRING | IT_CVAR, "Mute Self", "Whether your voice is transmitted or not.",
NULL, {.cvar = &cv_voice_selfmute}, 0, 0},
{IT_STRING | IT_CVAR, "Undeafen & Unmute", "Choose to opt-in to voice chat at all, for yourself.",
{IT_STRING | IT_CVAR, "Deafen Self", "Choose to opt-in to voice chat at all, for yourself.",
NULL, {.cvar = &cv_voice_chat}, 0, 0},
{IT_STRING | IT_CVAR, "Input Mode", "When to transmit your own voice.",
@ -40,7 +40,7 @@ menuitem_t OPTIONS_Voice[] =
{IT_HEADER, "Server Voice Options...", NULL,
NULL, {NULL}, 0, 0},
{IT_STRING | IT_CVAR, "No Server Voice Chat", "All voice chat will be disabled on your server.",
{IT_STRING | IT_CVAR, "Server Voice Chat", "All voice chat will be disabled on your server.",
NULL, {.cvar = &cv_voice_servermute}, 0, 0},
{IT_STRING | IT_CVAR, "Proximity Effects", "Player voices will be adjusted relative to you.",