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:
parent
b36ebc294f
commit
41aa867a21
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user