aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs
diff options
context:
space:
mode:
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs')
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs b/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs
index b01596c..be3f1c8 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs
@@ -67,10 +67,14 @@ namespace TimeHACK.OS.Win95.Win95Apps.MineSweeper
foreach (Square s in _squares)
{
s.RemoveEvents();
- if (s.Minded && !s.Exploded)
+ if (s.Minded && !s.Exploded && !s.Dismantled)
{
s.Button.BackgroundImage = Properties.Resources.minesweepSquareMine;
}
+ if (s.Dismantled && !s.Minded)
+ {
+ s.Button.BackgroundImage = Properties.Resources.minesweepSquareWrong;
+ }
}
}