mirror of
https://github.com/HistacomUnity/Histacom2-old.git
synced 2025-01-22 09:02:01 -05:00
fixed bug
This commit is contained in:
parent
a66494723c
commit
4fd3293e2f
1 changed files with 2 additions and 2 deletions
|
@ -75,14 +75,14 @@ public int DismantledMines
|
|||
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue