From 056cba55a890f40b48bd6dc513482a10869ba433 Mon Sep 17 00:00:00 2001 From: nordsoft Date: Tue, 26 Sep 2023 15:45:46 +0200 Subject: [PATCH] Show loading screen immediately on restart --- client/CServerHandler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/CServerHandler.cpp b/client/CServerHandler.cpp index 3a0943f01..1bd5c58b7 100644 --- a/client/CServerHandler.cpp +++ b/client/CServerHandler.cpp @@ -537,6 +537,8 @@ void CServerHandler::sendGuiAction(ui8 action) const void CServerHandler::sendRestartGame() const { + GH.windows().createAndPushWindow(); + LobbyEndGame endGame; endGame.closeConnection = false; endGame.restart = true;