From cd4785347eb641a0fab1a7157d701dd5d8c3259f Mon Sep 17 00:00:00 2001 From: TrueDoctor Date: Thu, 27 Sep 2018 00:31:30 +0200 Subject: hoked the command handler up to the web api modified file locations --- DSACore/DSA_Game/Save/Session.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'DSACore/DSA_Game/Save/Session.cs') 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 Relation { get; set; } = new Dictionary(); // 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 { -- cgit v1.2.3-54-g00ecf