diff options
Diffstat (limited to 'Histacom2/OS')
| -rw-r--r-- | Histacom2/OS/Win98/Win98Apps/Story/Hack3.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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<Form>().Where(x => !(x is WinClassic)).ToList().ForEach(x => x.Close()); Program.title.StartGame(); TitleScreen.frm98.Close(); return; |
