mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Progress on server side for rmg
This commit is contained in:
@@ -289,6 +289,10 @@ void ApplyOnServerNetPackVisitor::visitLobbyStartGame(LobbyStartGame & pack)
|
||||
result = false;
|
||||
return;
|
||||
}
|
||||
// Announce loading
|
||||
std::unique_ptr<LobbyLoadProgress> loadProgress(new LobbyLoadProgress);
|
||||
srv.addToAnnounceQueue(std::move(loadProgress));
|
||||
|
||||
// Server will prepare gamestate and we announce StartInfo to clients
|
||||
if(!srv.prepareToStartGame())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user