aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn/SaveSystem.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-04-30 17:50:50 -0400
committerMichael <[email protected]>2017-04-30 17:50:54 -0400
commitcdfba45faaa9202c69bdfe1a2f9e92140e0ecdae (patch)
tree273464351e4bd65e60c083d4d35880fd43148dd3 /ShiftOS_TheReturn/SaveSystem.cs
parent9a911c660feb1ef1177cc2bad002eb87004b6362 (diff)
downloadshiftos_thereturn-cdfba45faaa9202c69bdfe1a2f9e92140e0ecdae.tar.gz
shiftos_thereturn-cdfba45faaa9202c69bdfe1a2f9e92140e0ecdae.tar.bz2
shiftos_thereturn-cdfba45faaa9202c69bdfe1a2f9e92140e0ecdae.zip
unite stuffs
Diffstat (limited to 'ShiftOS_TheReturn/SaveSystem.cs')
-rw-r--r--ShiftOS_TheReturn/SaveSystem.cs7
1 files changed, 2 insertions, 5 deletions
diff --git a/ShiftOS_TheReturn/SaveSystem.cs b/ShiftOS_TheReturn/SaveSystem.cs
index 3e68a70..4f4e9f5 100644
--- a/ShiftOS_TheReturn/SaveSystem.cs
+++ b/ShiftOS_TheReturn/SaveSystem.cs
@@ -266,12 +266,9 @@ namespace ShiftOS.Engine
{
if (Utils.FileExists(Paths.GetPath("user.dat")))
{
- var userdat = JsonConvert.DeserializeObject<ClientSave>(Utils.ReadAllText(Paths.GetPath("user.dat")));
+ string token = Utils.ReadAllText(Paths.GetPath("user.dat"));
- ServerManager.SendMessage("mud_login", $@"{{
- username: ""{userdat.Username}"",
- password: ""{userdat.Password}""
-}}");
+ ServerManager.SendMessage("mud_token_login", token);
}
else
{