mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-13 12:26:05 -05:00
Maintain master and working copies of data structures, to enable saving single maps at a time
This commit is contained in:
@@ -9,14 +9,15 @@ Editor::Editor()
|
||||
|
||||
void Editor::saveProject() {
|
||||
if (project) {
|
||||
project->saveAllDataStructures();
|
||||
project->saveAllMaps();
|
||||
project->saveAllDataStructures();
|
||||
}
|
||||
}
|
||||
|
||||
void Editor::save() {
|
||||
if (project && map) {
|
||||
project->saveMap(map);
|
||||
project->saveAllDataStructures();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user