diff options
| author | lempamo <[email protected]> | 2017-10-29 13:25:07 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-10-29 13:25:07 -0400 |
| commit | 5c72e89e52b0a9bb38810a8b77988c5674c96e3e (patch) | |
| tree | aca5582660baef41b87a583216a959f0ed5a120d /Histacom2/AchievementBox.cs | |
| parent | 1b0053509bce231da4beaa6a4d4a373578a8d345 (diff) | |
| download | histacom2-5c72e89e52b0a9bb38810a8b77988c5674c96e3e.tar.gz histacom2-5c72e89e52b0a9bb38810a8b77988c5674c96e3e.tar.bz2 histacom2-5c72e89e52b0a9bb38810a8b77988c5674c96e3e.zip | |
end of internet ending complete
Diffstat (limited to 'Histacom2/AchievementBox.cs')
| -rw-r--r-- | Histacom2/AchievementBox.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Histacom2/AchievementBox.cs b/Histacom2/AchievementBox.cs index e6d714a..a65ef23 100644 --- a/Histacom2/AchievementBox.cs +++ b/Histacom2/AchievementBox.cs @@ -27,6 +27,10 @@ namespace Histacom2 BackgroundImage = Properties.Resources.EndingPiracy; stayOnScreen = true; break; + case 1: + BackgroundImage = Properties.Resources.EndingDestruction; + stayOnScreen = true; + break; case 20: BackgroundImage = Properties.Resources.AchievementMines; button1.Hide(); @@ -55,7 +59,8 @@ namespace Histacom2 Program.title.Show(); SaveSystem.CurrentSave = null; SaveSystem.currentTheme = null; - foreach (Form f in Application.OpenForms) if (!(f is TitleScreen) && !(f is AchievementBox)) f.Close(); + Application.OpenForms.Cast<Form>().Where(x => !(x is TitleScreen | x is AchievementBox)).ToList().ForEach(x => x.Close()); + //foreach (Form f in Application.OpenForms) if (!(f is TitleScreen) && !(f is AchievementBox)) f.Close(); this.Close(); } } |
