Browse Source

Show loading screen immediately on restart

nordsoft 2 years ago
parent
commit
056cba55a8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      client/CServerHandler.cpp

+ 2 - 0
client/CServerHandler.cpp

@@ -537,6 +537,8 @@ void CServerHandler::sendGuiAction(ui8 action) const
 
 void CServerHandler::sendRestartGame() const
 {
+	GH.windows().createAndPushWindow<CLoadingScreen>();
+	
 	LobbyEndGame endGame;
 	endGame.closeConnection = false;
 	endGame.restart = true;