Fix "unknown command" not being printed on dedicated

This commit is contained in:
SteelT 2022-03-22 13:09:29 -04:00 committed by NepDisk
parent 69497e1004
commit f2133d94b0

View file

@ -698,7 +698,7 @@ static void COM_ExecuteString(char *ptext)
// check cvars
// Hurdler: added at Ebola's request ;)
// (don't flood the console in software mode with bad gl_xxx command)
if (!CV_Command() && con_destlines)
if (!CV_Command() && (con_destlines || dedicated))
CONS_Printf(M_GetText("Unknown command '%s'\n"), COM_Argv(0));
}