aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/GameManager.cpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2024-03-21 00:31:05 +0100
committer GitHub <noreply@github.com>2024-03-21 00:31:05 +0100
commit020ada6c8f0f1bf4486fd9e76ec29673044794d6 (patch)
tree5dc9698964d3980680dad3127fb53ecd4a600c5f /src/openvic-simulation/GameManager.cpp
parenteece77afebf0e4d36b4c9ace3b1044f2c3da50f1 (diff)
parent6a99bd8237fa61bd740ba482b59ff428a7e2f123 (diff)
Merge pull request #152 from OpenVicProject/pop-menu
GUI and Pop attribute work for Population Menu
Diffstat (limited to 'src/openvic-simulation/GameManager.cpp')
-rw-r--r--src/openvic-simulation/GameManager.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/openvic-simulation/GameManager.cpp b/src/openvic-simulation/GameManager.cpp
index a4cb5f4..bb807c9 100644
--- a/src/openvic-simulation/GameManager.cpp
+++ b/src/openvic-simulation/GameManager.cpp
@@ -63,7 +63,10 @@ bool GameManager::load_bookmark(Bookmark const* new_bookmark) {
Logger::warning("Bookmark date ", bookmark->get_date(), " is not in the game's time period!");
}
today = bookmark->get_date();
- ret &= map.apply_history_to_provinces(history_manager.get_province_manager(), today);
+ ret &= map.apply_history_to_provinces(
+ history_manager.get_province_manager(), today, politics_manager.get_ideology_manager(),
+ politics_manager.get_issue_manager(), *country_manager.get_country_by_identifier("ENG")
+ );
map.get_state_manager().generate_states(map);
// TODO - apply country history
return ret;