1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

turn timer and simturn change on load

This commit is contained in:
Laserlicht 2024-09-28 13:45:04 +02:00
parent 7f8f09c8fa
commit 1558cbdfa9

View File

@ -267,6 +267,8 @@ void CGameState::updateOnLoad(StartInfo * si)
for(auto & i : si->playerInfos)
gs->players[i.first].human = i.second.isControlledByHuman();
scenarioOps->extraOptionsInfo = si->extraOptionsInfo;
scenarioOps->turnTimerInfo = si->turnTimerInfo;
scenarioOps->simturnsInfo = si->simturnsInfo;
}
void CGameState::initNewGame(const IMapService * mapService, bool allowSavingRandomMap, Load::ProgressAccumulator & progressTracking)