aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/GameManager.cpp
diff options
context:
space:
mode:
author BrickPi <49528459+BrickPi@users.noreply.github.com>2023-12-04 23:03:34 +0100
committer hop311 <hop3114@gmail.com>2023-12-05 00:56:37 +0100
commit471d0c80ac0b62d7e5e538ccd921bf7c5c014307 (patch)
treec0411b2b6051bb274cc8d3fb39613fbd800df511 /src/openvic-simulation/GameManager.cpp
parent444a27726695478e44e0166e75df1f354b6432d5 (diff)
parente78249bea71e2503be77f9e4cfab6ffdf164126b (diff)
Merge pull request #79 from OpenVicProject/states
Diffstat (limited to 'src/openvic-simulation/GameManager.cpp')
-rw-r--r--src/openvic-simulation/GameManager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/openvic-simulation/GameManager.cpp b/src/openvic-simulation/GameManager.cpp
index 04e680d..5b74ec4 100644
--- a/src/openvic-simulation/GameManager.cpp
+++ b/src/openvic-simulation/GameManager.cpp
@@ -59,6 +59,7 @@ bool GameManager::load_bookmark(Bookmark const* new_bookmark) {
}
today = bookmark->get_date();
ret &= map.apply_history_to_provinces(history_manager.get_province_manager(), today);
+ map.get_state_manager().generate_states(map);
// TODO - apply country history
// TODO - apply pop history
return ret;