Compare commits
No commits in common. "b6398f3373f06a52a407038cf8762e5f1cd6cc28" and "0ce03f5395c2e6605edaca26f4e80c8a9c832f38" have entirely different histories.
b6398f3373
...
0ce03f5395
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ set(CMAKE_CXX_STANDARD 14)
|
|||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
set(SAVETOOL_PROJECT_VERSION 1.3.3)
|
||||
set(SAVETOOL_PROJECT_VERSION 1.3.2)
|
||||
|
||||
find_package(Corrade REQUIRED Main Containers Utility Interconnect)
|
||||
find_package(Magnum REQUIRED GL Sdl2Application)
|
||||
|
|
|
@ -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