From 33edc6a21175f16aae06fc4d3d327266a456eeee Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 18 Jan 2017 10:01:37 -0500 Subject: Improved tutorial, win.open edit Tutorial now goes over how to do basic things like check codepoints, buy upgrades, open windows etc. win.open now shows a list of available windows when ran with no arguments. --- ShiftOS_TheReturn/SaveSystem.cs | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'ShiftOS_TheReturn/SaveSystem.cs') diff --git a/ShiftOS_TheReturn/SaveSystem.cs b/ShiftOS_TheReturn/SaveSystem.cs index 4b5312a..7678bca 100644 --- a/ShiftOS_TheReturn/SaveSystem.cs +++ b/ShiftOS_TheReturn/SaveSystem.cs @@ -154,19 +154,6 @@ namespace ShiftOS.Engine } - if(CurrentSave.StoryPosition == 1) - { - Desktop.InvokeOnWorkerThread(new Action(() => - { - TutorialManager.StartTutorial(); - })); - - while(CurrentSave.StoryPosition < 2) - { - - } - } - Thread.Sleep(75); @@ -189,6 +176,14 @@ namespace ShiftOS.Engine Shiftorium.LogOrphanedUpgrades = true; Desktop.InvokeOnWorkerThread(new Action(() => Desktop.PopulateAppLauncher())); GameReady?.Invoke(); + if (CurrentSave.StoryPosition == 1) + { + Desktop.InvokeOnWorkerThread(new Action(() => + { + TutorialManager.StartTutorial(); + })); + } + })); thread.IsBackground = true; thread.Start(); -- cgit v1.2.3