aboutsummaryrefslogtreecommitdiff
path: root/Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs')
-rw-r--r--Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs b/Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs
index 77f63b5..9dcebfc 100644
--- a/Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs
+++ b/Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs
@@ -10,6 +10,7 @@ namespace Histacom2.OS.Win95.Win95Apps.Story
{
public class Hack2 : object
{
+ public static bool Upgraded = false;
static WindowManager wm = new WindowManager();
public static async void StartObjective()
@@ -80,7 +81,7 @@ namespace Histacom2.OS.Win95.Win95Apps.Story
await Task.Delay(2500);
Console.WriteLine("Command> Show Start Button");
TitleScreen.frm95.startbutton.Show();
- TitleScreen.frm95.desktopicons.BackgroundImage = null;
+ if (SaveSystem.currentTheme.defaultWallpaper != null) TitleScreen.frm95.desktopicons.BackgroundImage = new Bitmap(SaveSystem.currentTheme.defaultWallpaper, TitleScreen.frm95.Width, TitleScreen.frm95.Height);
await Task.Delay(2900);
Console.WriteLine("12padams> OKAY, NOW YOU'VE DONE IT!");
await Task.Delay(2500);
@@ -273,6 +274,7 @@ namespace Histacom2.OS.Win95.Win95Apps.Story
SaveSystem.CurrentSave.CurrentOS = "98";
SaveSystem.currentTheme = new Default98Theme();
SaveSystem.CurrentSave.ThemeName = "default98";
+ Upgraded = true;
TitleScreen.frm95.distort.ParentForm.Close();
foreach (Form frm in Application.OpenForms) if (frm is WinClassic) frm.Close();
Program.title.StartGame();