1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Show loading screen immediately on restart

This commit is contained in:
nordsoft 2023-09-26 15:45:46 +02:00
parent 2a3e371caf
commit 056cba55a8

View File

@ -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;