From 45ed8faac0588802f3b04a39ba29393988247afb Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 23 Feb 2017 17:09:20 -0500 Subject: RGB 1,0,1 for desktop panel and applauncher BGs --- ShiftOS.WinForms/Applications/MUDControlCentre.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ShiftOS.WinForms/Applications') diff --git a/ShiftOS.WinForms/Applications/MUDControlCentre.cs b/ShiftOS.WinForms/Applications/MUDControlCentre.cs index 0d67776..6426562 100644 --- a/ShiftOS.WinForms/Applications/MUDControlCentre.cs +++ b/ShiftOS.WinForms/Applications/MUDControlCentre.cs @@ -873,7 +873,14 @@ Current legions: {legionname}"; { if(second == true) { + ServerManager.SendMessage("delete_save", JsonConvert.SerializeObject(new ClientSave + { + Username = SaveSystem.CurrentSave.Username, + Password = SaveSystem.CurrentSave.Password + })); + SaveSystem.CurrentSave = null; + ShiftOS.Objects.ShiftFS.Utils.Delete(Paths.GetPath("user.dat")); TerminalBackend.InvokeCommand("sos.shutdown"); MessageBox.Show("Thank you for playing ShiftOS. Your save data has been deleted successfully. You can come back at anytime, but you will have to restart your game."); -- cgit v1.2.3