diff --git a/src/UESaveFile/UESaveFile.cpp b/src/UESaveFile/UESaveFile.cpp index 45b30fd..9209269 100644 --- a/src/UESaveFile/UESaveFile.cpp +++ b/src/UESaveFile/UESaveFile.cpp @@ -132,7 +132,7 @@ auto UESaveFile::saveToFile() -> bool { writer.closeFile(); - if(!temp_file && !Utility::Path::copy(_filepath + ".tmp"_s, _filepath)) { + if(!Utility::Path::copy(_filepath + ".tmp"_s, _filepath)) { _lastError = "Couldn't save the file properly."; return false; }