diff options
| author | Michael <[email protected]> | 2017-02-08 11:20:02 -0500 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-02-08 11:20:02 -0500 |
| commit | 512a02ba88678cb7ddd65f32245135c8cf2ba1c3 (patch) | |
| tree | c32cb4d429f01595bdbe8de00f030a21a0939425 /ShiftOS.WinForms/Oobe.cs | |
| parent | 530d34e1aeb040c4330b1693e6cbb7e25cf49784 (diff) | |
| download | shiftos_thereturn-512a02ba88678cb7ddd65f32245135c8cf2ba1c3.tar.gz shiftos_thereturn-512a02ba88678cb7ddd65f32245135c8cf2ba1c3.tar.bz2 shiftos_thereturn-512a02ba88678cb7ddd65f32245135c8cf2ba1c3.zip | |
Mind my language...
We finally fixed the god damn fucking fuckity fucking Tutorial bug.
Finally, for fucks sake.
Diffstat (limited to 'ShiftOS.WinForms/Oobe.cs')
| -rw-r--r-- | ShiftOS.WinForms/Oobe.cs | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/ShiftOS.WinForms/Oobe.cs b/ShiftOS.WinForms/Oobe.cs index 8eef34a..8ff1b53 100644 --- a/ShiftOS.WinForms/Oobe.cs +++ b/ShiftOS.WinForms/Oobe.cs @@ -199,6 +199,8 @@ namespace ShiftOS.WinForms TextType("I have been installing ShiftOS on your system in the background as I was talking with you. Before I can set you free, I need to give you a tutorial on how to use the system."); Thread.Sleep(500); TextType("I will reboot your system in Tutorial Mode now. Complete the tutorial, and you shall be on your way."); + + Thread.Sleep(3000); SaveSystem.CurrentSave = MySave; SaveSystem.CurrentSave.StoryPosition = 1; Utils.WriteAllText(Paths.GetPath("user.dat"), JsonConvert.SerializeObject(new @@ -207,18 +209,10 @@ namespace ShiftOS.WinForms password = MySave.Password })); Shiftorium.Silent = true; - SaveSystem.SaveGame(); - - Thread.Sleep(3000); - try { - TutorialManager.StartTutorial(); - } catch (Exception e) { - TextType("An error has occoured while starting the tutorial"); - TextType(e.ToString()); - } - //this.Close(); // This has been commented out because the form closes when the error appears. Uncomment this if no more errors appear + SaveSystem.SaveGame(); //Yknow, just incase it crashes. + this.Invoke(new Action(this.Close)); } - catch(Exception e) + catch (Exception e) { TextType("I have experienced an error."); TextType(e.ToString()); |
