mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-20 03:50:08 +00: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…
x
Reference in New Issue
Block a user