From 6543b93a67a14ffa6f184e28b67912df7e314315 Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Sun, 5 May 2019 21:45:13 +0200 Subject: fixed Properties load path --- DSACore/DSA_Game/Dsa.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'DSACore/DSA_Game/Dsa.cs') diff --git a/DSACore/DSA_Game/Dsa.cs b/DSACore/DSA_Game/Dsa.cs index 3b2e4aa..dda55c2 100644 --- a/DSACore/DSA_Game/Dsa.cs +++ b/DSACore/DSA_Game/Dsa.cs @@ -16,7 +16,7 @@ namespace DSACore.DSA_Game public static class Dsa { #if DEBUG - public const string rootPath = "C:\\Users\\Dennis\\Source\\Repos\\DiscoBot\\DSACore\\";//"DiscoBot\\DSACore\\"; + public const string rootPath = "";//"C:\\Users\\Dennis\\Source\\Repos\\DiscoBot\\DSACore\\";//"DiscoBot\\DSACore\\"; #else public const string rootPath = "";//"DiscoBot\\DSACore\\"; #endif @@ -61,8 +61,8 @@ namespace DSACore.DSA_Game } */ - Properties.Deserialize(rootPath+"Properties"); - Properties.Serialize(rootPath + "Properties"); + Properties.Deserialize($"{rootPath}Properties"); + Properties.Serialize($"{rootPath}Properties"); Talente = Talente.OrderBy(x => x.Name).ToList(); -- cgit v1.2.3-70-g09d2