Fixed Bug when the game ends with a draw

This commit is contained in:
Falko Victor Habel 2024-04-25 08:33:37 +02:00
parent a7c1e6d39f
commit 4ecbbf4c83
1 changed files with 1 additions and 0 deletions

View File

@ -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)
} }
} }