For client's lobby view, it now can shows the connected host IP

#story[1055]
This commit is contained in:
Zhi You Tan
2017-07-27 13:12:53 +12:00
parent c2c34705d5
commit 1d9dd76356
2 changed files with 2 additions and 1 deletions
@@ -109,6 +109,7 @@ public class StartScreenController {
ClientState.setHost(false);
ClientState.setConnectedToHost(true);
ClientState.setHostIp(ipAddress);
controller.setClientToServerThread(clientToServerThread);
LobbyController lobbyController = (LobbyController) setContentPane("/views/LobbyView.fxml");
lobbyController.setController(controller);