Merge pull request 'fix ready' (#31) from game-end-stuff into main
Reviewed-on: #31
This commit is contained in:
commit
3c7d68109a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue