fix edited class NetworkDialog changed Button to Checklist

This commit is contained in:
Lukas Bauer
2024-10-04 18:42:47 +02:00
parent e41d21584a
commit 113da79df6

View File

@@ -67,7 +67,7 @@ private void menu() {
preview.addClickCommands(source -> preview()); preview.addClickCommands(source -> preview());
Button connectGame = new Button("Multiplayer"); Button connectGame = new Button("Multiplayer");
connectGame.addClickCommands(source -> hostServer()); connectGame.addClickCommands(source -> hostServer());
Button serverHost = new Button("Host own Game"); Checkbox serverHost = new Checkbox("Host own Game");
serverHost.addClickCommands(source -> connect()); serverHost.addClickCommands(source -> connect());
menu.addChild(preview); menu.addChild(preview);