Fixed Bug when the game ends with a draw
This commit is contained in:
parent
a7c1e6d39f
commit
4ecbbf4c83
|
@ -100,6 +100,7 @@ func Gameloop(row, col int) {
|
||||||
// checking if the game is a draw
|
// checking if the game is a draw
|
||||||
if gameControl.BoardisFull(board) {
|
if gameControl.BoardisFull(board) {
|
||||||
TextLabel.SetText("Draw")
|
TextLabel.SetText("Draw")
|
||||||
|
DisableAllButtons(gridContainer)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue