aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn/SaveSystem.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-01-18 10:01:37 -0500
committerMichael <[email protected]>2017-01-18 10:01:37 -0500
commit33edc6a21175f16aae06fc4d3d327266a456eeee (patch)
tree2fdd8ef3edc135a38088a2409032982538f22664 /ShiftOS_TheReturn/SaveSystem.cs
parent18f93056b7d882b4dcce4d3afacd1ba6d37d94ac (diff)
downloadshiftos_thereturn-33edc6a21175f16aae06fc4d3d327266a456eeee.tar.gz
shiftos_thereturn-33edc6a21175f16aae06fc4d3d327266a456eeee.tar.bz2
shiftos_thereturn-33edc6a21175f16aae06fc4d3d327266a456eeee.zip
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.
Diffstat (limited to 'ShiftOS_TheReturn/SaveSystem.cs')
-rw-r--r--ShiftOS_TheReturn/SaveSystem.cs21
1 files changed, 8 insertions, 13 deletions
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();