Compare commits
3 commits
2493cb5988
...
4c460890a4
Author | SHA1 | Date | |
---|---|---|---|
4c460890a4 | |||
e172e3356d | |||
65b5219fd5 |
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ auto UESaveFile::saveToFile() -> bool {
|
|||
|
||||
writer.closeFile();
|
||||
|
||||
if(!Utility::Path::copy(_filepath + ".tmp"_s, _filepath)) {
|
||||
if(!temp_file && !Utility::Path::copy(_filepath + ".tmp"_s, _filepath)) {
|
||||
_lastError = "Couldn't save the file properly.";
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue