浏览代码

Show loading screen immediately on restart

nordsoft 2 年之前
父节点
当前提交
056cba55a8
共有 1 个文件被更改,包括 2 次插入0 次删除
  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;