summaryrefslogtreecommitdiff
path: root/DSACore/DSA_Game/Save
diff options
context:
space:
mode:
Diffstat (limited to 'DSACore/DSA_Game/Save')
-rw-r--r--DSACore/DSA_Game/Save/Properties.cs2
-rw-r--r--DSACore/DSA_Game/Save/Session.cs6
2 files changed, 4 insertions, 4 deletions
diff --git a/DSACore/DSA_Game/Save/Properties.cs b/DSACore/DSA_Game/Save/Properties.cs
index 1c86ab9..f201431 100644
--- a/DSACore/DSA_Game/Save/Properties.cs
+++ b/DSACore/DSA_Game/Save/Properties.cs
@@ -35,7 +35,7 @@ namespace DSACore.DSA_Game.Save
set => objects["Sound"] = value;
}
- public static void Deserialize(string path = @"..\..\Properties")
+ public static void Deserialize(string path = /*@"..\.."*/@"Properties")
{
var files = Directory.GetFiles(path, "*.json");
diff --git a/DSACore/DSA_Game/Save/Session.cs b/DSACore/DSA_Game/Save/Session.cs
index 60e900f..d343920 100644
--- a/DSACore/DSA_Game/Save/Session.cs
+++ b/DSACore/DSA_Game/Save/Session.cs
@@ -9,7 +9,7 @@ namespace DSACore.DSA_Game.Save
public class Session
{
- public static string DirectoryPath { get; set; } = @"..\..\sessions";
+ public static string DirectoryPath { get; set; } = @"sessions";
public Dictionary<string, string> Relation { get; set; } = new Dictionary<string, string>(); // dictionary to match the char
@@ -17,7 +17,7 @@ namespace DSACore.DSA_Game.Save
public string SessionName { get; set; }
- public static Session Load(string path = @"..\..\session.json")
+ public static Session Load(string path)
{
try
{
@@ -31,7 +31,7 @@ namespace DSACore.DSA_Game.Save
}
}
- public void Save(string path = @"..\..\session.json")
+ public void Save(string path)
{
try
{