From: bones_was_here Date: Tue, 6 Feb 2024 14:37:31 +0000 (+1000) Subject: Xonotic: don't hide config problems during startup X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=315301a12b8f1b4a87d45d1d7b9174584db5138d 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 --- 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;