Use Cbuf_Execute_Stack instead of Cbuf_Execute. This guarantees that GIB

scripts executed from server.cfg will be run immediately.
This commit is contained in:
Brian Koropoff 2002-11-30 21:12:45 +00:00
parent 2d450701ae
commit 05bee9dc59

View file

@ -2565,7 +2565,7 @@ SV_Init (void)
// process command line arguments
Cmd_Exec_File (sv_cbuf, fs_usercfg->string, 0);
Cmd_StuffCmds (sv_cbuf);
Cbuf_Execute (sv_cbuf);
Cbuf_Execute_Stack (sv_cbuf);
// if a map wasn't specified on the command line, spawn start.map
if (sv.state == ss_dead)