aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/InstanceManager.cpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-09-11 01:21:03 +0200
committer hop311 <hop3114@gmail.com>2024-09-12 23:08:34 +0200
commit237e42fd1cdff02862c6a2279c7cad9786ab0e65 (patch)
treee822fe7d6c31e0fec639290d7faaa739ce7638b9 /src/openvic-simulation/InstanceManager.cpp
parent7a9206e3869fbb659d296b854c90f5c81755a5ca (diff)
CountryInstance unlock tech, invention, crime, building, unit, gas etc.
Diffstat (limited to 'src/openvic-simulation/InstanceManager.cpp')
-rw-r--r--src/openvic-simulation/InstanceManager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openvic-simulation/InstanceManager.cpp b/src/openvic-simulation/InstanceManager.cpp
index bcae82b..b731d12 100644
--- a/src/openvic-simulation/InstanceManager.cpp
+++ b/src/openvic-simulation/InstanceManager.cpp
@@ -79,10 +79,12 @@ bool InstanceManager::setup() {
);
ret &= country_instance_manager.generate_country_instances(
definition_manager.get_country_definition_manager(),
+ definition_manager.get_economy_manager().get_building_type_manager().get_building_types(),
definition_manager.get_research_manager().get_technology_manager().get_technologies(),
definition_manager.get_research_manager().get_invention_manager().get_inventions(),
definition_manager.get_politics_manager().get_ideology_manager().get_ideologies(),
definition_manager.get_politics_manager().get_government_type_manager().get_government_types(),
+ definition_manager.get_crime_manager().get_crime_modifiers(),
definition_manager.get_pop_manager().get_pop_types(),
definition_manager.get_military_manager().get_unit_type_manager().get_regiment_types(),
definition_manager.get_military_manager().get_unit_type_manager().get_ship_types()