I obsolesced something I made within an hour ago.

This commit is contained in:
Michael VanOverbeek 2017-05-21 13:09:07 +00:00
parent 73fddd7263
commit fe2a1a84c3

View file

@ -216,21 +216,6 @@ namespace ShiftOS.Server
WriteEncFile(savefile, JsonConvert.SerializeObject(save));
}
try
{
var wr = System.Net.HttpWebRequest.Create("http://getshiftos.ml/API/GetCodepoints");
wr.Headers.Add("Authentication: Token " + save.UniteAuthToken);
var response = wr.GetResponse();
using (var rstr = response.GetResponseStream())
{
using (var sreader = new StreamReader(rstr))
{
long cp = Convert.ToInt64(sreader.ReadToEnd());
save.Codepoints = cp;
}
}
}
catch { }
Program.server.DispatchTo(new Guid(guid), new NetObject("mud_savefile", new ServerMessage
{