aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/dataloader/Dataloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/dataloader/Dataloader.cpp')
-rw-r--r--src/openvic-simulation/dataloader/Dataloader.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/openvic-simulation/dataloader/Dataloader.cpp b/src/openvic-simulation/dataloader/Dataloader.cpp
index fd4f2b0..0078ed2 100644
--- a/src/openvic-simulation/dataloader/Dataloader.cpp
+++ b/src/openvic-simulation/dataloader/Dataloader.cpp
@@ -836,8 +836,10 @@ bool Dataloader::load_defines(GameManager& game_manager) {
ret = false;
}
if (!_load_technologies(game_manager)) {
+ Logger::error("Failed to load technologies!");
ret = false;
}
+ game_manager.get_modifier_manager().lock_modifier_effects();
if (!game_manager.get_politics_manager().get_rule_manager().setup_rules(
game_manager.get_economy_manager().get_building_type_manager()
)) {