Detect when local changes occured to file
This commit is contained in:
parent
8f03080b87
commit
1955de9e3e
5 changed files with 47 additions and 4 deletions
|
|
@ -404,6 +404,7 @@ void World::save_to_file(const std::filesystem::path& filePathToSaveAt) {
|
|||
#endif
|
||||
|
||||
Logger::get().log("USERINFO", "File saved");
|
||||
undo.set_save_action();
|
||||
}
|
||||
catch(const std::exception& e) {
|
||||
Logger::get().log("WORLDFATAL", std::string("Save error: ") + e.what());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue