Sfoglia il codice sorgente

Show loading screen immediately on restart

nordsoft 2 anni fa
parent
commit
056cba55a8
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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;