From d574650f70daa0cee15220eea305ca7eb594a746 Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Sun, 5 May 2019 23:14:17 +0200 Subject: Revert "fixed Properties load path" This reverts commit 6543b93a67a14ffa6f184e28b67912df7e314315. --- DSACore/DSA_Game/Save/Properties.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'DSACore/DSA_Game/Save/Properties.cs') diff --git a/DSACore/DSA_Game/Save/Properties.cs b/DSACore/DSA_Game/Save/Properties.cs index b0e07e2..459a9c7 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('/').Last().Split('.')[0].Replace('-', '.'); + string name = file.Split('\\').Last().Split('.')[0].Replace('-', '.'); string data = File.ReadAllText(file); Type type = Type.GetType(name); if (data.StartsWith("[")) -- cgit v1.2.3-70-g09d2