fix edited class NetworkDialog changed Button to Checklist
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user