From c29d0ef7e70000a30a71573f608cbf0a4e5b5163 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Fri, 16 Oct 2020 22:46:03 +0000 Subject: [PATCH] sv_main: Fix crash git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13018 d7cf8633-e32d-0410-b094-e92efae38249 --- sv_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sv_main.c b/sv_main.c index 5b5b22ce..6fbd146d 100644 --- a/sv_main.c +++ b/sv_main.c @@ -705,11 +705,12 @@ void SV_Init (void) Cvar_RegisterVariable (&sv_mapformat_is_quake2); Cvar_RegisterVariable (&sv_mapformat_is_quake3); - SV_ServerOptions(); SV_InitOperatorCommands(); host.hook.SV_CanSave = SV_CanSave; sv_mempool = Mem_AllocPool("server", 0, NULL); + + SV_ServerOptions(); } static void SV_SaveEntFile_f(cmd_state_t *cmd) -- 2.39.2