From: cloudwalk Date: Fri, 16 Oct 2020 22:46:03 +0000 (+0000) Subject: sv_main: Fix crash X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c29d0ef7e70000a30a71573f608cbf0a4e5b5163;p=xonotic%2Fdarkplaces.git sv_main: Fix crash git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@13018 d7cf8633-e32d-0410-b094-e92efae38249 --- 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)