Lobby no longer glitches out when a person disconnects and reconnects without restarting the program #story[1188]
This commit is contained in:
@@ -277,6 +277,7 @@ public class InGameLobbyController extends Controller {
|
||||
alert.setHeaderText("You are about to quit the race");
|
||||
Optional<ButtonType> result = alert.showAndWait();
|
||||
if(result.get() == ButtonType.OK){
|
||||
visualiserRaceEvent.terminate();
|
||||
gameLobbyWrapper.setVisible(false);
|
||||
parent.enterTitle();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user