summaryrefslogtreecommitdiff
path: root/DSACore/DSA_Game/Save
diff options
context:
space:
mode:
authorDennis Kobert <d-kobert@web.de>2019-05-05 21:45:13 +0200
committerDennis Kobert <d-kobert@web.de>2019-05-05 21:45:13 +0200
commit6543b93a67a14ffa6f184e28b67912df7e314315 (patch)
tree3f8bfc3bd0e2c73fa6f6e2fab83fbde645f7cdcf /DSACore/DSA_Game/Save
parent35427f903dc20ddcd8cf302c1e78f6bfd8ca735c (diff)
fixed Properties load path
Diffstat (limited to 'DSACore/DSA_Game/Save')
-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 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("["))