Fix "unknown command" not being printed on dedicated

This commit is contained in:
SteelT 2022-03-22 13:09:29 -04:00 committed by toaster
parent 39097e7433
commit 236394f639

View file

@ -730,7 +730,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));
}