aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-08-06 09:20:14 -0400
committerlempamo <[email protected]>2017-08-06 09:20:14 -0400
commit4fd3293e2f68ea7f4d5b8d958746c21be620ad16 (patch)
tree72fd01201476789697bd3ccfab49598e267528ec
parenta66494723ce44ed7eb38ebef83f59468b7279c2d (diff)
downloadhistacom2-4fd3293e2f68ea7f4d5b8d958746c21be620ad16.tar.gz
histacom2-4fd3293e2f68ea7f4d5b8d958746c21be620ad16.tar.bz2
histacom2-4fd3293e2f68ea7f4d5b8d958746c21be620ad16.zip
fixed bug
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs b/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs
index fd6704a..30e9349 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/MineSweeper/Game.cs
@@ -75,14 +75,14 @@ namespace TimeHACK.OS.Win95.Win95Apps.MineSweeper
private void Explode(object sender, EventArgs e)
{
- _timer.Enabled = false;
+ if (_timer != null) _timer.Enabled = false;
foreach (Square s in _squares)
{
s.RemoveEvents();
if (s.Minded)
{
s.Button.Text = "*";
- s.Button.Font = new System.Drawing.Font("Arial Black", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
+ s.Button.Font = new Font("Arial Black", 16F, FontStyle.Regular, GraphicsUnit.Point, ((System.Byte)(0)));
s.Button.ForeColor = Color.Black;
}
}