From 884a0a8c076804dee3fe4b0d9ff8c7690ec7a7c6 Mon Sep 17 00:00:00 2001 From: lempamo Date: Wed, 12 Jul 2017 19:18:43 -0500 Subject: fixed up hack2 a bit --- TimeHACK.Main/OS/Win95/Win95.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'TimeHACK.Main/OS/Win95/Win95.cs') diff --git a/TimeHACK.Main/OS/Win95/Win95.cs b/TimeHACK.Main/OS/Win95/Win95.cs index 6cae472..442091e 100644 --- a/TimeHACK.Main/OS/Win95/Win95.cs +++ b/TimeHACK.Main/OS/Win95/Win95.cs @@ -20,6 +20,7 @@ namespace TimeHACK.OS.Win95 public List nonimportantapps = new List(); public WinClassic webchat; public WinClassic ie; + public WinClassicTimeDistorter distort; public TaskBarController tb = new TaskBarController(); public int currentappcount = 0; @@ -429,7 +430,8 @@ namespace TimeHACK.OS.Win95 private void TimeDistorterToolStripMenuItem_Click(object sender, EventArgs e) { - WinClassic app = wm.StartWin95(new WinClassicTimeDistorter("1998", "1999", 160, Hack2.StartObjective), "Time Distorter", null, false, true); + distort = new WinClassicTimeDistorter("1998", "1999", 160, Hack2.StartObjective); + WinClassic app = wm.StartWin95(distort, "Time Distorter", null, false, true); AddTaskBarItem(app, app.Tag.ToString(), "Time Distorter", null); app.BringToFront(); startmenu.Hide(); -- cgit v1.2.3