don't write config.cfg until /after/ it's been read :)

This commit is contained in:
Bill Currie 2004-01-07 06:29:34 +00:00
parent 9c92a916ff
commit 9537640b1c
2 changed files with 7 additions and 4 deletions

View file

@ -991,14 +991,17 @@ Host_Init (void)
Hunk_AllocName (0, "-HOST_HUNKLEVEL-");
host_hunklevel = Hunk_LowMark ();
host_initialized = true;
Con_Printf ("\nVersion %s (build %04d)\n\n", VERSION,
build_number ());
Con_Printf ("\x80\x81\x81\x82 %s initialized\x80\x81\x81\x82\n", PROGRAM);
CL_UpdateScreen (cl.time);
// make sure all + commands have been executed
Cbuf_Execute_Stack (cl_cbuf);
host_initialized = true;
if (isDedicated) {
if (!sv.active)
Cmd_ExecuteString ("map start", src_command);

View file

@ -1761,8 +1761,6 @@ Host_Init (void)
Hunk_AllocName (0, "-HOST_HUNKLEVEL-");
host_hunklevel = Hunk_LowMark ();
host_initialized = true;
Con_Printf ("\nClient version %s (build %04d)\n\n", VERSION,
build_number ());
Con_Printf ("\x80\x81\x81\x82 %s initialized \x80\x81\x81\x82\n", PROGRAM);
@ -1770,6 +1768,8 @@ Host_Init (void)
// make sure all + commands have been executed
Cbuf_Execute_Stack (cl_cbuf);
host_initialized = true;
CL_UpdateScreen (realtime);
Con_NewMap (); // force the menus to be loaded
CL_UpdateScreen (realtime);