summaryrefslogtreecommitdiff
path: root/DSACore/DSA_Game/Save/Properties.cs
diff options
context:
space:
mode:
authorDennis Kobert <d-kobert@web.de>2019-05-05 23:14:17 +0200
committerDennis Kobert <d-kobert@web.de>2019-05-05 23:14:17 +0200
commitd574650f70daa0cee15220eea305ca7eb594a746 (patch)
tree7cc46e53c0317d9e83c46d551e0543e339f6bb1f /DSACore/DSA_Game/Save/Properties.cs
parentf563fc69cb15047051982f2e7c0364b98ee9d2da (diff)
Revert "fixed Properties load path"
This reverts commit 6543b93a67a14ffa6f184e28b67912df7e314315.
Diffstat (limited to 'DSACore/DSA_Game/Save/Properties.cs')
-rw-r--r--DSACore/DSA_Game/Save/Properties.cs2
1 files changed, 1 insertions, 1 deletions
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("["))