mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-02-04 11:14:17 +00:00
engine: do not save configs when we closing because of the errors
This commit is contained in:
parent
520fc33394
commit
c244cfc937
@ -1349,7 +1349,7 @@ void EXPORT Host_Shutdown( void )
|
|||||||
if( !host.change_game ) Q_strncpy( host.finalmsg, "Server shutdown", sizeof( host.finalmsg ));
|
if( !host.change_game ) Q_strncpy( host.finalmsg, "Server shutdown", sizeof( host.finalmsg ));
|
||||||
|
|
||||||
#if !XASH_DEDICATED
|
#if !XASH_DEDICATED
|
||||||
if( host.type == HOST_NORMAL )
|
if( host.type == HOST_NORMAL && host.status != HOST_ERR_FATAL )
|
||||||
Host_WriteConfig();
|
Host_WriteConfig();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user