fixed input after win bug
This commit is contained in:
2
Game.cs
2
Game.cs
@@ -151,6 +151,7 @@
|
|||||||
MessageBox.Show("You won");
|
MessageBox.Show("You won");
|
||||||
Program.AddWin();
|
Program.AddWin();
|
||||||
}
|
}
|
||||||
|
SetInputEnabled(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -159,6 +160,7 @@
|
|||||||
if (IsAllBoxesFilled())
|
if (IsAllBoxesFilled())
|
||||||
{
|
{
|
||||||
MessageBox.Show("Tie");
|
MessageBox.Show("Tie");
|
||||||
|
SetInputEnabled(false);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user