mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2024-11-24 22:49:44 +01:00
fix server start
This commit is contained in:
parent
3a6f8a945a
commit
af80d40700
@ -128,8 +128,7 @@ public class CreateGameMenu {
|
|||||||
private void startServerAndJoin() {
|
private void startServerAndJoin() {
|
||||||
new Thread(() -> {
|
new Thread(() -> {
|
||||||
app.start();
|
app.start();
|
||||||
MonopolyServer server = new MonopolyServer();
|
app.startServer();
|
||||||
server.run();
|
|
||||||
|
|
||||||
// Warte 2 Sekunden
|
// Warte 2 Sekunden
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user