engine: fix inverted check in DLL unloading in settings.scr parsing
Fixes: aee99f6094
This commit is contained in:
parent
e017b9145f
commit
2067667c9c
1 changed files with 1 additions and 1 deletions
|
@ -1450,7 +1450,7 @@ void GAME_EXPORT Host_WriteServerConfig( const char *name )
|
||||||
else Con_DPrintf( S_ERROR "Couldn't write %s.\n", name );
|
else Con_DPrintf( S_ERROR "Couldn't write %s.\n", name );
|
||||||
|
|
||||||
// don't unload library that wasn't loaded by us
|
// don't unload library that wasn't loaded by us
|
||||||
if( already_loaded )
|
if( !already_loaded )
|
||||||
SV_FreeGameProgs(); // release progs with all variables
|
SV_FreeGameProgs(); // release progs with all variables
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue