Browse Source

engine: fix inverted check in DLL unloading in settings.scr parsing

Fixes: aee99f6094
pull/2/head
Alibek Omarov 1 year ago
parent
commit
2067667c9c
  1. 2
      engine/common/con_utils.c

2
engine/common/con_utils.c

@ -1450,7 +1450,7 @@ void GAME_EXPORT Host_WriteServerConfig( const char *name ) @@ -1450,7 +1450,7 @@ void GAME_EXPORT Host_WriteServerConfig( const char *name )
else Con_DPrintf( S_ERROR "Couldn't write %s.\n", name );
// don't unload library that wasn't loaded by us
if( already_loaded )
if( !already_loaded )
SV_FreeGameProgs(); // release progs with all variables
}

Loading…
Cancel
Save