From 05bbceb1092a3315cdcb29bda7c756ffbb547500 Mon Sep 17 00:00:00 2001 From: lempamo Date: Sun, 27 Aug 2017 10:36:17 -0400 Subject: [PATCH] fixed minor things in hack1 --- Histacom2/OS/Win95/Win95Apps/Story/Hack1.cs | 5 ++--- 1 file 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 @@ 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 @@ public static void StartObjective() tmr.Interval = 1; tmr.Tick += new EventHandler(CheckIfSoundFinished); - if (devMode == true) ContinueObjective(); + if (SaveSystem.DevMode) ContinueObjective(); else { soundThread.Start();