aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn/SaveSystem.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-01-17 17:26:27 -0500
committerMichael <[email protected]>2017-01-17 17:26:27 -0500
commit18f93056b7d882b4dcce4d3afacd1ba6d37d94ac (patch)
treed56af63f2b6efe5f939bd072d2b7531923595ccd /ShiftOS_TheReturn/SaveSystem.cs
parentb348a76db785c040d957f055ba9cc8569bf0c285 (diff)
downloadshiftos_thereturn-18f93056b7d882b4dcce4d3afacd1ba6d37d94ac.tar.gz
shiftos_thereturn-18f93056b7d882b4dcce4d3afacd1ba6d37d94ac.tar.bz2
shiftos_thereturn-18f93056b7d882b4dcce4d3afacd1ba6d37d94ac.zip
Tutorial backend, deletion of Nancy
I'll probably do a SaaS webadmin tool for the MUD in ASP.NET someday.
Diffstat (limited to 'ShiftOS_TheReturn/SaveSystem.cs')
-rw-r--r--ShiftOS_TheReturn/SaveSystem.cs15
1 files changed, 14 insertions, 1 deletions
diff --git a/ShiftOS_TheReturn/SaveSystem.cs b/ShiftOS_TheReturn/SaveSystem.cs
index 537b14e..4b5312a 100644
--- a/ShiftOS_TheReturn/SaveSystem.cs
+++ b/ShiftOS_TheReturn/SaveSystem.cs
@@ -149,11 +149,24 @@ namespace ShiftOS.Engine
Shiftorium.Init();
- while (CurrentSave.StoryPosition < 5)
+ while (CurrentSave.StoryPosition < 1)
{
}
+ if(CurrentSave.StoryPosition == 1)
+ {
+ Desktop.InvokeOnWorkerThread(new Action(() =>
+ {
+ TutorialManager.StartTutorial();
+ }));
+
+ while(CurrentSave.StoryPosition < 2)
+ {
+
+ }
+ }
+
Thread.Sleep(75);