From 32cc9fdc4e445720d6ad1b88de0428d6de106275 Mon Sep 17 00:00:00 2001 From: AJ Martinez Date: Thu, 16 May 2024 18:01:18 -0700 Subject: [PATCH] gamestochat is not a Player var! --- src/cvars.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cvars.cpp b/src/cvars.cpp index 83c360eb2..1590969a3 100644 --- a/src/cvars.cpp +++ b/src/cvars.cpp @@ -1349,7 +1349,7 @@ consvar_t cv_chatwidth = Player("chatwidth", "150").min_max(64, 150); // old shit console chat. (mostly exists for stuff like terminal, not because I cared if anyone liked the old chat.) consvar_t cv_consolechat = Player("chatmode", "Yes").values({{0, "Yes"}, {2, "No"}}); -consvar_t cv_gamestochat = Player("gamestochat", "0").min_max(0, 99); +consvar_t cv_gamestochat = NetVar("gamestochat", "0").min_max(0, 99); void Mute_OnChange(void); consvar_t cv_mute = UnsavedNetVar("mute", "Off").on_off().onchange(Mute_OnChange);