From 505ad6d69b3c30c0372e27aa9e6680771e77819d Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 14 Oct 2024 06:56:17 +0300 Subject: [PATCH] engine: server: reinitalize delta in case if delta was shutdown by client and some tables were omitted (movevars after using GoldSrc server) --- engine/server/sv_init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/server/sv_init.c b/engine/server/sv_init.c index 3399e9c6..adf18309 100644 --- a/engine/server/sv_init.c +++ b/engine/server/sv_init.c @@ -1028,6 +1028,8 @@ qboolean SV_SpawnServer( const char *mapname, const char *startspot, qboolean ba if( !SV_InitGame( )) return false; + Delta_Init(); // re-initialize delta + // unlock sv_cheats in local game ClearBits( sv_cheats.flags, FCVAR_READ_ONLY );