fix ready

This commit is contained in:
Luca Conte 2024-12-23 23:21:48 +01:00
parent 9ea176cc6d
commit eaa5b64956
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);