Compare commits
3 Commits
2493cb5988
...
4c460890a4
Author | SHA1 | Date |
---|---|---|
Guillaume Jacquemin | 4c460890a4 | |
Guillaume Jacquemin | e172e3356d | |
Guillaume Jacquemin | 65b5219fd5 |
|
@ -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 New Issue