mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Attempted fix for build issues due to javaFX toolkit not being initialized.
This commit is contained in:
@@ -74,7 +74,7 @@ public class RegularPacketsTest {
|
||||
serverThread.terminate();
|
||||
clientThread.setSocketToClose();
|
||||
GameState.setCurrentStage(GameStages.LOBBYING);
|
||||
for (int i = 0; i<6; i++)
|
||||
SleepThreadMaxDelay(); //Make sure socket is closed.
|
||||
for (int i = 0; i<20; i++)
|
||||
SleepThreadMaxDelay(); //Make sure socket is closed and toolkit remade.
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user