lobbyMenu ready button toggles to grey

This commit is contained in:
Yvonne Schmidt 2024-11-26 22:30:13 +01:00
parent bdc5f0269f
commit 7f6011720c

View File

@ -163,6 +163,7 @@ public class LobbyMenu extends Dialog {
readyButton.addClickCommands(s -> ifTopDialog(() -> {
toggleReady();
app.getGameLogic().playSound(Sound.BUTTON);
readyButton.setBackground(new QuadBackgroundComponent(ColorRGBA.DarkGray));
}));
lowerRightMenu.addChild(readyButton);