From 19b13528f6e4ecbef8aaca92d6bdcf7d23d42838 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 5 Feb 2017 10:56:48 -0500 Subject: Server now FULLY encrypts saves --- ShiftOS_TheReturn/SaveSystem.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ShiftOS_TheReturn') diff --git a/ShiftOS_TheReturn/SaveSystem.cs b/ShiftOS_TheReturn/SaveSystem.cs index d2cc521..284c8d6 100644 --- a/ShiftOS_TheReturn/SaveSystem.cs +++ b/ShiftOS_TheReturn/SaveSystem.cs @@ -216,6 +216,12 @@ namespace ShiftOS.Engine Console.WriteLine($"{{SHIFTORIUM_TRANSFERRED_TO}}: {amount} -> sys"); } + public static void Restart() + { + TerminalBackend.InvokeCommand("sos.shutdown"); + System.Windows.Forms.Application.Restart(); + } + public static void ReadSave() { //Migrate old saves. -- cgit v1.2.3