Revert "remove saves (temporarily?) since they don't really work"

This reverts commit 7929ffe2a7.
This commit is contained in:
OMGeeky
2025-06-25 01:27:34 +02:00
parent 397d1ded8c
commit 782d436681
2 changed files with 6 additions and 10 deletions

View File

@@ -62,7 +62,7 @@ public class Project implements ProjectTreeNode, Serializable, JsonSerializable
public transient BookmarksRoot bookmarks;
// public SavedGamesSet saves; //For simulations.
public SavedGamesSet saves; //For simulations.
public transient SavedSlotCollection v;
@@ -140,13 +140,13 @@ public class Project implements ProjectTreeNode, Serializable, JsonSerializable
createdContent = new GameSource(this, Type.created);
bookmarks = new BookmarksRoot(this);
// saves = new SavedGamesSet(this);
saves = new SavedGamesSet(this);
v.add(createdContent);
v.add(alteredContent);
// v.add(referencedContent);
v.add(baseContent);
// v.add(saves);
v.add(saves);
v.add(bookmarks);
}
@@ -269,14 +269,14 @@ public class Project implements ProjectTreeNode, Serializable, JsonSerializable
createdContent = new GameSource(this, GameSource.Type.created);
bookmarks = new BookmarksRoot(this);
// saves.refreshTransients();
saves.refreshTransients();
v = new SavedSlotCollection();
v.add(createdContent);
v.add(alteredContent);
// v.add(referencedContent);
v.add(baseContent);
// v.add(saves);
v.add(saves);
v.add(bookmarks);
@@ -1017,7 +1017,7 @@ public class Project implements ProjectTreeNode, Serializable, JsonSerializable
public void addSave(File selectedFile) {
// saves.addSave(selectedFile);
saves.addSave(selectedFile);
}