actually fix my dumb mistake

This commit is contained in:
Rylan/wowmom98 2017-05-28 16:29:51 -04:00
parent e85832a5a4
commit f5a8a0a8c7

View file

@ -32,7 +32,6 @@ using NetSockets;
using Newtonsoft.Json;
using System.IO;
using static ShiftOS.Server.Program;
using ShiftOS.Engine
namespace ShiftOS.Server
@ -181,7 +180,7 @@ namespace ShiftOS.Server
if (sve.EndsWith(".save"))
{
var save = JsonConvert.DeserializeObject<Save>(File.ReadAllText(sve));
accs.Add($"{ShiftOS.Engine.SaveSytem.CurrentUser.Username}@{save.SystemName}");
accs.Add($"{save.Username}@{save.SystemName}");
}
}