mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-12 16:18:01 +00:00
engine: fix inverted check in DLL unloading in settings.scr parsing
Fixes: aee99f6094
This commit is contained in:
parent
e017b9145f
commit
2067667c9c
@ -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…
Reference in New Issue
Block a user