diff options
| author | Michael <[email protected]> | 2017-04-30 19:26:00 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-30 19:26:00 -0400 |
| commit | aec0eff8187fadb7418892c076a88c9bd03b8ff0 (patch) | |
| tree | fe04ad663661d70d959f051a8cf44afee3e20867 /ShiftOS_TheReturn/SaveSystem.cs | |
| parent | 354b65cc54c6fdd4c004c5895bfd5fedf06abf7f (diff) | |
| download | shiftos_thereturn-aec0eff8187fadb7418892c076a88c9bd03b8ff0.tar.gz shiftos_thereturn-aec0eff8187fadb7418892c076a88c9bd03b8ff0.tar.bz2 shiftos_thereturn-aec0eff8187fadb7418892c076a88c9bd03b8ff0.zip | |
unite registration
Diffstat (limited to 'ShiftOS_TheReturn/SaveSystem.cs')
| -rw-r--r-- | ShiftOS_TheReturn/SaveSystem.cs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/ShiftOS_TheReturn/SaveSystem.cs b/ShiftOS_TheReturn/SaveSystem.cs index 4f4e9f5..bd9a14f 100644 --- a/ShiftOS_TheReturn/SaveSystem.cs +++ b/ShiftOS_TheReturn/SaveSystem.cs @@ -298,14 +298,7 @@ namespace ShiftOS.Engine Console.Write("{SE_SAVING}... "); if (SaveSystem.CurrentSave != null) { - string username = CurrentSave.Username; - string password = CurrentSave.Password; - - Utils.WriteAllText(Paths.GetPath("user.dat"), $@"{{ - username: ""{username}"", - password: ""{password}"" -}}"); - + Utils.WriteAllText(Paths.GetPath("user.dat"), CurrentSave.UniteAuthToken); ServerManager.SendMessage("mud_save", JsonConvert.SerializeObject(CurrentSave, Formatting.Indented)); } if (!Shiftorium.Silent) |
