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

Merge pull request #4685 from Laserlicht/turn_timer_load_change

turn timer and simturn change on load
This commit is contained in:
Ivan Savenko 2024-10-01 15:27:04 +03:00 committed by GitHub
commit a4c3dd622f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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)