From 382f0167714bbcad00ab710fe7dcfa05eaeb88ac Mon Sep 17 00:00:00 2001 From: lempamo Date: Wed, 1 Nov 2017 17:10:26 -0400 Subject: fixed IOE --- Histacom2/OS/Win98/Win98Apps/Story/Hack3.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Histacom2/OS') diff --git a/Histacom2/OS/Win98/Win98Apps/Story/Hack3.cs b/Histacom2/OS/Win98/Win98Apps/Story/Hack3.cs index c6513e2..2c7f687 100644 --- a/Histacom2/OS/Win98/Win98Apps/Story/Hack3.cs +++ b/Histacom2/OS/Win98/Win98Apps/Story/Hack3.cs @@ -172,7 +172,7 @@ namespace Histacom2.OS.Win98.Win98Apps.Story SaveSystem.currentTheme = new BadXPTheme(); SaveSystem.CurrentSave.ThemeName = "badxp"; td.ParentForm.Close(); - foreach (Form frm in Application.OpenForms) if (frm is WinClassic) frm.Close(); + Application.OpenForms.Cast
().Where(x => !(x is WinClassic)).ToList().ForEach(x => x.Close()); Program.title.StartGame(); TitleScreen.frm98.Close(); return; -- cgit v1.2.3