diff options
| author | Michael <[email protected]> | 2017-02-05 10:56:48 -0500 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-02-05 10:56:48 -0500 |
| commit | 19b13528f6e4ecbef8aaca92d6bdcf7d23d42838 (patch) | |
| tree | d12032138c15bd0e891856c6f5ead9cc86428a46 /ShiftOS_TheReturn/SaveSystem.cs | |
| parent | b1923154095df7b26d3e5263b5219f38f7c58c38 (diff) | |
| download | shiftos_thereturn-19b13528f6e4ecbef8aaca92d6bdcf7d23d42838.tar.gz shiftos_thereturn-19b13528f6e4ecbef8aaca92d6bdcf7d23d42838.tar.bz2 shiftos_thereturn-19b13528f6e4ecbef8aaca92d6bdcf7d23d42838.zip | |
Server now FULLY encrypts saves
Diffstat (limited to 'ShiftOS_TheReturn/SaveSystem.cs')
| -rw-r--r-- | ShiftOS_TheReturn/SaveSystem.cs | 6 |
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. |
