aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/dataloader
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2024-01-14 12:27:56 +0100
committer GitHub <noreply@github.com>2024-01-14 12:27:56 +0100
commit2fcc7ccd409701f6bad343e57afe74bd05246b68 (patch)
tree8e2f7f4de34ec3d62e55f9918ce26900c16a5d0f /src/openvic-simulation/dataloader
parent046e5619277c6f3dffbb29244b4b88029da31bee (diff)
parent70948572ef0fb5c6dae453c410fdaedfab36741b (diff)
Merge pull request #129 from OpenVicProject/registry-template-fun
Reworked `UniqueKeyRegistry` template params
Diffstat (limited to 'src/openvic-simulation/dataloader')
-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()
)) {