aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.WinForms/FakeSetupScreen.cs
diff options
context:
space:
mode:
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)