diff --git a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/CreateGameMenu.java b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/CreateGameMenu.java index ce3a37a..3d73a08 100644 --- a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/CreateGameMenu.java +++ b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/gui/CreateGameMenu.java @@ -128,8 +128,7 @@ public class CreateGameMenu { private void startServerAndJoin() { new Thread(() -> { app.start(); - MonopolyServer server = new MonopolyServer(); - server.run(); + app.startServer(); // Warte 2 Sekunden try {