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/Save/Properties.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'DSACore/DSA_Game/Save') diff --git a/DSACore/DSA_Game/Save/Properties.cs b/DSACore/DSA_Game/Save/Properties.cs index 459a9c7..b0e07e2 100644 --- a/DSACore/DSA_Game/Save/Properties.cs +++ b/DSACore/DSA_Game/Save/Properties.cs @@ -43,7 +43,7 @@ namespace DSACore.DSA_Game.Save { try { - string name = file.Split('\\').Last().Split('.')[0].Replace('-', '.'); + string name = file.Split('\\').Last().Split('/').Last().Split('.')[0].Replace('-', '.'); string data = File.ReadAllText(file); Type type = Type.GetType(name); if (data.StartsWith("[")) -- cgit v1.3.1