diff --git a/src/main/java/TicTacToe/Cell.java b/src/main/java/TicTacToe/Cell.java index a254735..01fd7ab 100644 --- a/src/main/java/TicTacToe/Cell.java +++ b/src/main/java/TicTacToe/Cell.java @@ -28,8 +28,8 @@ public class Cell extends JButton { protected void OnMouseClick() { if (playerID == 0) { playerID = ttt.playerID; - ttt.endTurn(); setEnabled(false); + ttt.endTurn(); repaint(); } }