aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/FakeSetupScreen.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-02-23 15:41:22 -0500
committerMichael <[email protected]>2017-02-23 15:41:22 -0500
commitad76a525fe312d5db024f499f1aee2a7ac44e505 (patch)
treebe8d84d84f52ddc42829501844047879d99bb633 /ShiftOS.WinForms/FakeSetupScreen.cs
parent750b776349cb96f50c4f5b0eba3662bc7da27e69 (diff)
downloadshiftos_thereturn-ad76a525fe312d5db024f499f1aee2a7ac44e505.tar.gz
shiftos_thereturn-ad76a525fe312d5db024f499f1aee2a7ac44e505.tar.bz2
shiftos_thereturn-ad76a525fe312d5db024f499f1aee2a7ac44e505.zip
Fix login bugs related to #71 .
Diffstat (limited to 'ShiftOS.WinForms/FakeSetupScreen.cs')
-rw-r--r--ShiftOS.WinForms/FakeSetupScreen.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/ShiftOS.WinForms/FakeSetupScreen.cs b/ShiftOS.WinForms/FakeSetupScreen.cs
index 86fd791..52c6c07 100644
--- a/ShiftOS.WinForms/FakeSetupScreen.cs
+++ b/ShiftOS.WinForms/FakeSetupScreen.cs
@@ -250,6 +250,7 @@ So make sure your password is secure enough that it can't be guessed, but easy f
{
SaveSystem.CurrentSave = JsonConvert.DeserializeObject<ShiftOS.Objects.Save>(msg.Contents);
SaveSystem.SaveGame();
+ CreateNewSave = false;
DoneLoggingIn?.Invoke();
this.CanClose = true;
this.Close();
@@ -281,6 +282,8 @@ So make sure your password is secure enough that it can't be guessed, but easy f
public event Action DoneLoggingIn;
+ public bool CreateNewSave = true;
+
public event Action<string, string, string> UserReregistered;
public void StartWipingInBackground(long arbitraryAmountOfBytes)