aboutsummaryrefslogtreecommitdiff
path: root/Histacom2
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-08-27 10:36:17 -0400
committerlempamo <[email protected]>2017-08-27 10:36:17 -0400
commit05bbceb1092a3315cdcb29bda7c756ffbb547500 (patch)
treed7fb9733a71c61a962d764190731e915f8a2d576 /Histacom2
parentcd6273d7c95098e0e0dd9948c6b5cec1c5f9cd3f (diff)
downloadhistacom2-05bbceb1092a3315cdcb29bda7c756ffbb547500.tar.gz
histacom2-05bbceb1092a3315cdcb29bda7c756ffbb547500.tar.bz2
histacom2-05bbceb1092a3315cdcb29bda7c756ffbb547500.zip
fixed minor things in hack1
Diffstat (limited to 'Histacom2')
-rw-r--r--Histacom2/OS/Win95/Win95Apps/Story/Hack1.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/Histacom2/OS/Win95/Win95Apps/Story/Hack1.cs b/Histacom2/OS/Win95/Win95Apps/Story/Hack1.cs
index 54716e5..b988092 100644
--- a/Histacom2/OS/Win95/Win95Apps/Story/Hack1.cs
+++ b/Histacom2/OS/Win95/Win95Apps/Story/Hack1.cs
@@ -13,12 +13,11 @@ using Histacom2.Engine.Template;
namespace Histacom2.OS.Win95.Win95Apps.Story
{
- static class Hack1 : Object
+ static class Hack1 : object
{
static WindowManager wm = new WindowManager();
static bool ended = false;
static Thread soundThread = new Thread(dialup_sound_play);
- static bool devMode = true;
// This is the very first story script!
public static void StartObjective()
@@ -28,7 +27,7 @@ namespace Histacom2.OS.Win95.Win95Apps.Story
tmr.Interval = 1;
tmr.Tick += new EventHandler(CheckIfSoundFinished);
- if (devMode == true) ContinueObjective();
+ if (SaveSystem.DevMode) ContinueObjective();
else
{
soundThread.Start();