Merge pull request 'fix ready' (#31) from game-end-stuff into main

Reviewed-on: #31
This commit is contained in:
Luca Conte 2024-12-23 22:22:00 +00:00
commit 3c7d68109a
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ public class GameBoard extends JPanel {
public void actionPerformed(ActionEvent e) {
kontextText.setText(kT2);
p1.ready();
if(true) {
if(p1.isReady()) {
remove(readyButton);
remove(resetButton);
remove(rightButtonsPanel);