From 64f491ff2821f99fc7485d9b062cc75c7d8fff1c Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 8 May 2017 12:09:45 -0400 Subject: [PATCH] Fix softlock when creating new saves. --- ShiftOS.WinForms/Oobe.cs | 2 ++ ShiftOS.WinForms/OobeStory.cs | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ShiftOS.WinForms/Oobe.cs b/ShiftOS.WinForms/Oobe.cs index a4d63e0..0bcb290 100644 --- a/ShiftOS.WinForms/Oobe.cs +++ b/ShiftOS.WinForms/Oobe.cs @@ -316,7 +316,9 @@ You must join the digital society, rise up the ranks, and save us. { sve.StoryPosition = 8675309; SaveSystem.CurrentSave = sve; + Shiftorium.Silent = true; SaveSystem.SaveGame(); + Shiftorium.Silent = false; }); } diff --git a/ShiftOS.WinForms/OobeStory.cs b/ShiftOS.WinForms/OobeStory.cs index 39ca5b5..a35e1d8 100644 --- a/ShiftOS.WinForms/OobeStory.cs +++ b/ShiftOS.WinForms/OobeStory.cs @@ -141,11 +141,9 @@ namespace ShiftOS.WinForms Console.WriteLine(); Console.WriteLine("Next, let's get user information."); Console.WriteLine(); - Desktop.InvokeOnWorkerThread(() => - { - ShiftOS.Engine.OutOfBoxExperience.PromptForLogin(); - }); + ShiftOS.Engine.OutOfBoxExperience.PromptForLogin(); } + private static bool isValid(string text, string chars) { foreach(var c in text)