diff options
| author | Michael <[email protected]> | 2017-04-29 18:59:20 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-29 18:59:20 -0400 |
| commit | 12490dec7deaa972cb29166095a7ef0c1f005541 (patch) | |
| tree | ff4979daf8dfd7881899ade68903d757c6e828d4 /ShiftOS.WinForms/OobeStory.cs | |
| parent | 7293e2f07f99603c1f63826d705ce4179d70c663 (diff) | |
| download | shiftos_thereturn-12490dec7deaa972cb29166095a7ef0c1f005541.tar.gz shiftos_thereturn-12490dec7deaa972cb29166095a7ef0c1f005541.tar.bz2 shiftos_thereturn-12490dec7deaa972cb29166095a7ef0c1f005541.zip | |
Various intro fixes.
Diffstat (limited to 'ShiftOS.WinForms/OobeStory.cs')
| -rw-r--r-- | ShiftOS.WinForms/OobeStory.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ShiftOS.WinForms/OobeStory.cs b/ShiftOS.WinForms/OobeStory.cs index d4d066b..ab730e7 100644 --- a/ShiftOS.WinForms/OobeStory.cs +++ b/ShiftOS.WinForms/OobeStory.cs @@ -205,7 +205,11 @@ namespace ShiftOS.WinForms while (position == 0) Thread.Sleep(10); Console.WriteLine("Connecting to the multi-user domain as " + SaveSystem.CurrentSave.SystemName + "..."); + bool connected = false; + Engine.AudioManager.PlayCompleted += () => { connected = true; }; Engine.AudioManager.PlayStream(Properties.Resources.dial_up_modem_02); + while (connected == false) + Thread.Sleep(10); Console.WriteLine("Connection successful, system spinning up..."); Thread.Sleep(200); UsernameWait: @@ -299,6 +303,8 @@ namespace ShiftOS.WinForms TerminalBackend.PrintPrompt(); Console.Write("sos.help"); TerminalBackend.InvokeCommand("sos.help"); + Thread.Sleep(1000); + TerminalBackend.PrintPrompt(); }; } }); |
