From 39da0da55a09a56bae3c250e6108c8edf77bfbfd Mon Sep 17 00:00:00 2001 From: TrueDoctor Date: Thu, 27 Sep 2018 21:02:07 +0200 Subject: fixed some stuff --- DSACore/DSA_Game/Dsa.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'DSACore/DSA_Game/Dsa.cs') diff --git a/DSACore/DSA_Game/Dsa.cs b/DSACore/DSA_Game/Dsa.cs index ff74788..7258e8c 100644 --- a/DSACore/DSA_Game/Dsa.cs +++ b/DSACore/DSA_Game/Dsa.cs @@ -13,6 +13,8 @@ namespace DSACore.DSA_Game public static class Dsa { + public const string rootPath = "DiscoBot\\DSACore\\"; + private static Session s_session; public static List Chars { get; set; } = new List(); // list of all characters @@ -37,6 +39,8 @@ namespace DSACore.DSA_Game } } + public static void start(){} + public static void Startup() { //new .Auxiliary.Calculator.StringSolver("1d100 - (1d200 + 1) * -50000").Solve(); @@ -49,8 +53,8 @@ namespace DSACore.DSA_Game .Where(c => !Talente.Exists(v => v.Name.Equals(c.Name))).ToList().ForEach(v => Talente.Add(v)); } - Properties.Deserialize(); - Properties.Serialize(); + Properties.Deserialize(rootPath+"Properties"); + Properties.Serialize(rootPath + "Properties"); Talente = Talente.OrderBy(x => x.Name).ToList(); Session = new Session -- cgit v1.2.3-70-g09d2