aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-02-05 10:56:48 -0500
committerMichael <[email protected]>2017-02-05 10:56:48 -0500
commit19b13528f6e4ecbef8aaca92d6bdcf7d23d42838 (patch)
treed12032138c15bd0e891856c6f5ead9cc86428a46 /ShiftOS_TheReturn
parentb1923154095df7b26d3e5263b5219f38f7c58c38 (diff)
downloadshiftos_thereturn-19b13528f6e4ecbef8aaca92d6bdcf7d23d42838.tar.gz
shiftos_thereturn-19b13528f6e4ecbef8aaca92d6bdcf7d23d42838.tar.bz2
shiftos_thereturn-19b13528f6e4ecbef8aaca92d6bdcf7d23d42838.zip
Server now FULLY encrypts saves
Diffstat (limited to 'ShiftOS_TheReturn')
-rw-r--r--ShiftOS_TheReturn/SaveSystem.cs6
1 files changed, 6 insertions, 0 deletions
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.