2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-12-23 17:25:24 +01:00

engine: common: don't try to delete now non-existing config file after backing up

This commit is contained in:
Alibek Omarov 2022-12-26 14:27:07 +03:00
parent b36ebc294f
commit 41aa867a21

View File

@ -1355,7 +1355,6 @@ void Host_FinalizeConfig( file_t *f, const char *config )
FS_Close( f ); FS_Close( f );
FS_Delete( backup ); FS_Delete( backup );
FS_Rename( config, backup ); FS_Rename( config, backup );
FS_Delete( config );
FS_Rename( newcfg, config ); FS_Rename( newcfg, config );
} }