aboutsummaryrefslogtreecommitdiff
path: root/Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-08-28 00:30:06 -0400
committerlempamo <[email protected]>2017-08-28 00:30:06 -0400
commit7e54d42ed67bf8417a4a479dedce65217adc8309 (patch)
tree481bfaec0a5217205751c02c3f9c1fc8870a01ab /Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs
parentd2006a3cf629c0ac4ec020778604ae490b4981ec (diff)
downloadhistacom2-7e54d42ed67bf8417a4a479dedce65217adc8309.tar.gz
histacom2-7e54d42ed67bf8417a4a479dedce65217adc8309.tar.bz2
histacom2-7e54d42ed67bf8417a4a479dedce65217adc8309.zip
made 95 windows close when travelling to 1999
Diffstat (limited to 'Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs')
-rw-r--r--Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs b/Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs
index 76b9baf..b72c576 100644
--- a/Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs
+++ b/Histacom2/OS/Win95/Win95Apps/Story/Hack2.cs
@@ -275,6 +275,7 @@ namespace Histacom2.OS.Win95.Win95Apps.Story
SaveSystem.currentTheme = new Default98Theme();
SaveSystem.CurrentSave.ThemeName = "default98";
TitleScreen.frm95.distort.ParentForm.Close();
+ foreach (Form frm in Application.OpenForms) if (frm is WinClassic) frm.Close();
Program.title.StartGame();
TitleScreen.frm95.Close();
return;