can set the "dedicated" CVar from the command-line again

This commit is contained in:
myT 2022-12-27 21:03:19 +01:00
parent ebfa9346b2
commit 608b223f52

View file

@ -2269,7 +2269,7 @@ void Com_Init( char *commandLine )
// get dedicated here for proper hunk megs initialization
#ifdef DEDICATED
com_dedicated = Cvar_Get("dedicated", "1", CVAR_ROM);
com_dedicated = Cvar_Get("dedicated", "1", CVAR_ROM | CVAR_INIT);
#else
com_dedicated = Cvar_Get("dedicated", "0", CVAR_LATCH);
#endif