Skip to content
Snippets Groups Projects
Commit 0f4f75d0 authored by Elrabu's avatar Elrabu
Browse files

eb093: fix: gamescene in Multiplayer is now visible

parent 9de6522e
No related branches found
No related tags found
4 merge requests!74V1,!73Initial commit,!71Merge DataBase into Development,!68Merge multiplayerIntegration into development
......@@ -99,8 +99,10 @@ public class LoadingScreenController implements Initializable {
Thread multiplayerLoadingScreenThread = new Thread(() -> {
while (!isStarted) {
System.out.println("Test");
System.out.println(runtimeInfo.getServer().getPlayerCount());
System.out.println("TestEnde");
if (runtimeInfo.getServer().getPlayerCount() == 2) {
Platform.runLater(() -> {
try {
System.out.println("Test");
tipsThread.interrupt();
......@@ -111,7 +113,6 @@ public class LoadingScreenController implements Initializable {
log.error(e);
throw new RuntimeException(e);
}
});
}
}
});
......
......@@ -65,6 +65,7 @@ public class Driver extends Application {
stage.setOnCloseRequest(windowEvent -> MusicPlayer.getInstance().getScheduler().shutdown());
stage.show();
log.debug("Project started successfully!");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment