summaryrefslogtreecommitdiff
path: root/DSACore/DSA_Game/Save/Session.cs
diff options
context:
space:
mode:
authorTrueDoctor <d-kobert@web.de>2018-09-27 00:31:30 +0200
committerTrueDoctor <d-kobert@web.de>2018-09-27 00:31:30 +0200
commitcd4785347eb641a0fab1a7157d701dd5d8c3259f (patch)
tree30ffcea7337231f84c47d45316babf45c24c3682 /DSACore/DSA_Game/Save/Session.cs
parent19bf37de7642ae8cdefd8fc6b4fadac3ac96ea9b (diff)
hoked the command handler up to the web api
modified file locations
Diffstat (limited to 'DSACore/DSA_Game/Save/Session.cs')
-rw-r--r--DSACore/DSA_Game/Save/Session.cs6
1 files changed, 3 insertions, 3 deletions
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
{