1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Progress on server side for rmg

This commit is contained in:
nordsoft
2023-08-21 05:06:58 +04:00
parent 2f5bd1423c
commit 584dd20943
14 changed files with 75 additions and 26 deletions

View File

@@ -1599,7 +1599,7 @@ void CGameHandler::reinitScripting()
#endif
}
void CGameHandler::init(StartInfo *si)
void CGameHandler::init(StartInfo *si, Load::Progress * progressTracking)
{
if (si->seedToBeUsed == 0)
{
@@ -1609,7 +1609,7 @@ void CGameHandler::init(StartInfo *si)
gs = new CGameState();
gs->preInit(VLC);
logGlobal->info("Gamestate created!");
gs->init(&mapService, si);
gs->init(&mapService, si, false, progressTracking);
logGlobal->info("Gamestate initialized!");
// reset seed, so that clients can't predict any following random values