mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-14 00:40:55 +00:00
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:
parent
2d450701ae
commit
05bee9dc59
1 changed files with 1 additions and 1 deletions
|
@ -2565,7 +2565,7 @@ SV_Init (void)
|
||||||
// process command line arguments
|
// process command line arguments
|
||||||
Cmd_Exec_File (sv_cbuf, fs_usercfg->string, 0);
|
Cmd_Exec_File (sv_cbuf, fs_usercfg->string, 0);
|
||||||
Cmd_StuffCmds (sv_cbuf);
|
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 a map wasn't specified on the command line, spawn start.map
|
||||||
if (sv.state == ss_dead)
|
if (sv.state == ss_dead)
|
||||||
|
|
Loading…
Reference in a new issue