summaryrefslogtreecommitdiff
path: root/DSACore/DSA_Game/Save/Properties.cs
diff options
context:
space:
mode:
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("["))