summaryrefslogtreecommitdiff
path: root/DSACore/DSA_Game/Save/SaveCommand.cs
diff options
context:
space:
mode:
authorTrueDoctor <d-kobert@web.de>2018-09-26 23:49:26 +0200
committerTrueDoctor <d-kobert@web.de>2018-09-26 23:49:26 +0200
commit19bf37de7642ae8cdefd8fc6b4fadac3ac96ea9b (patch)
tree08e7a9b15d806777fa1b839e897a171823649ab1 /DSACore/DSA_Game/Save/SaveCommand.cs
parentb411aa2128c2724bec0ecedb8cb4e1ffa59f3b53 (diff)
ported most code to WebApiProject
everything except the user identification and file locations should be somewhat functional
Diffstat (limited to 'DSACore/DSA_Game/Save/SaveCommand.cs')
-rw-r--r--DSACore/DSA_Game/Save/SaveCommand.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/DSACore/DSA_Game/Save/SaveCommand.cs b/DSACore/DSA_Game/Save/SaveCommand.cs
index 9a2ae8e..198d707 100644
--- a/DSACore/DSA_Game/Save/SaveCommand.cs
+++ b/DSACore/DSA_Game/Save/SaveCommand.cs
@@ -2,7 +2,7 @@
using System.Linq;
using System.Threading.Tasks;
-namespace DiscoBot.DSA_Game.Save
+namespace DSACore.DSA_Game.Save
{
using System.IO;
@@ -17,7 +17,7 @@ namespace DiscoBot.DSA_Game.Save
return;
}
- var path = DSA_Game.Save.Session.DirectoryPath + @"\" + name;
+ var path = Save.Session.DirectoryPath + @"\" + name;
var files = Directory.GetFiles(path);
var session = files.OrderByDescending(x => Convert.ToInt32(x.Split('-').Last().Split('.').First())).First();