fix server start

This commit is contained in:
Johannes Schmelz 2024-11-19 23:59:23 +01:00
parent 3a6f8a945a
commit af80d40700

View File

@ -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 {