diff options
| author | Michael Webb <[email protected]> | 2019-04-04 22:00:10 -0500 |
|---|---|---|
| committer | Michael Webb <[email protected]> | 2019-04-04 22:00:10 -0500 |
| commit | 7a17bdcb24e580a357bb1f9b8a925315eac33e64 (patch) | |
| tree | c0629b347bb95fc4aec0657ae5c581fd975a937b /Histacom2/OS/WinXPBad/Story/Hack4.cs | |
| parent | 95345b4f04925194782512155cfd97210c244ad1 (diff) | |
| download | histacom2-7a17bdcb24e580a357bb1f9b8a925315eac33e64.tar.gz histacom2-7a17bdcb24e580a357bb1f9b8a925315eac33e64.tar.bz2 histacom2-7a17bdcb24e580a357bb1f9b8a925315eac33e64.zip | |
HUGE list of changes; see Discord for more info
Diffstat (limited to 'Histacom2/OS/WinXPBad/Story/Hack4.cs')
| -rw-r--r-- | Histacom2/OS/WinXPBad/Story/Hack4.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Histacom2/OS/WinXPBad/Story/Hack4.cs b/Histacom2/OS/WinXPBad/Story/Hack4.cs index 1d120a8..cef0c49 100644 --- a/Histacom2/OS/WinXPBad/Story/Hack4.cs +++ b/Histacom2/OS/WinXPBad/Story/Hack4.cs @@ -21,7 +21,6 @@ namespace Histacom2.OS.WinXPBad.Story public static async void StartObjective() { try { - await Task.Delay(5000); WinXP app = wm.InitXP(Console, "Command Prompt", null, true, true); Console.WriteLine("telnet> 104.27.135.159 Connecting..."); @@ -79,7 +78,10 @@ namespace Histacom2.OS.WinXPBad.Story public static async void VirusDestruction(WinClassicIE6Bad ie) { LabelMaker(); - Console.ParentForm.Close(); + if (Console.ParentForm != null) + { + Console.ParentForm.Close(); + } await Task.Delay(10000); ((WinXP)ie.ParentForm).maximizebutton.Image = ((WinXP)ie.ParentForm).closebutton.Image; await Task.Delay(1000); ((WinXP)ie.ParentForm).minimizebutton.Image = ((WinXP)ie.ParentForm).closebutton.Image; await Task.Delay(1000); ie.toolStripMenuItem8.Image = Properties.Resources.WinXPError; |
