aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/InstanceManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/InstanceManager.cpp')
-rw-r--r--src/openvic-simulation/InstanceManager.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/openvic-simulation/InstanceManager.cpp b/src/openvic-simulation/InstanceManager.cpp
index c9ce24a..27ce8a4 100644
--- a/src/openvic-simulation/InstanceManager.cpp
+++ b/src/openvic-simulation/InstanceManager.cpp
@@ -39,6 +39,13 @@ void InstanceManager::update_gamestate() {
Logger::info("Update: ", today);
+ map_instance.update_base_modifier_sums(today);
+ country_instance_manager.update_base_modifier_sums(today);
+
+ // TODO - combine base country modifier sums + province total sums back into each individual province,
+ // after filtering out local province modifiers that don't apply to the country/other provinces and country
+ // modifiers which don't apply to provinces.
+
// Update gamestate...
map_instance.update_gamestate(today, definition_manager.get_define_manager());
country_instance_manager.update_gamestate(