From 315301a12b8f1b4a87d45d1d7b9174584db5138d Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Wed, 7 Feb 2024 00:37:31 +1000 Subject: [PATCH] Xonotic: don't hide config problems during startup Hiding problems is only desirable for games that will never be patched. Signed-off-by: bones_was_here --- cmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd.c b/cmd.c index bf4cc014..b12b13d6 100644 --- a/cmd.c +++ b/cmd.c @@ -2213,7 +2213,8 @@ functions_done: goto done; // check cvars - if (!Cvar_Command(cmd) && host.framecount > 0) + // Xonotic is still maintained so we don't want to hide problems from getting fixed + if (!Cvar_Command(cmd) && (host.framecount > 0 || gamemode == GAME_XONOTIC)) Con_Printf(CON_WARN "Unknown command \"%s\"\n", Cmd_Argv(cmd, 0)); done: cmd->cbuf->tokenizebufferpos = oldpos; -- 2.39.2