aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/InstanceManager.cpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-10-01 00:35:13 +0200
committer hop311 <hop3114@gmail.com>2024-10-05 22:48:42 +0200
commit3713393682c16fd5d3bed3e12fef68a1559c0cc5 (patch)
tree616377125abf684d9ec5b28d293428d559543d9a /src/openvic-simulation/InstanceManager.cpp
parentba4fe5d9a8596e1b73a3aa0735d471e25493d54b (diff)
Add supply_consumption and mobilization_impact modifier effect check examples
Diffstat (limited to 'src/openvic-simulation/InstanceManager.cpp')
-rw-r--r--src/openvic-simulation/InstanceManager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/openvic-simulation/InstanceManager.cpp b/src/openvic-simulation/InstanceManager.cpp
index 7f8a804..9c7804c 100644
--- a/src/openvic-simulation/InstanceManager.cpp
+++ b/src/openvic-simulation/InstanceManager.cpp
@@ -47,7 +47,8 @@ void InstanceManager::update_gamestate() {
// Update gamestate...
map_instance.update_gamestate(today, definition_manager.get_define_manager());
country_instance_manager.update_gamestate(
- today, definition_manager.get_define_manager(), definition_manager.get_military_manager().get_unit_type_manager()
+ today, definition_manager.get_define_manager(), definition_manager.get_military_manager().get_unit_type_manager(),
+ definition_manager.get_modifier_manager().get_modifier_effect_cache()
);
gamestate_updated();