aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/dataloader
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-01-13 21:14:06 +0100
committer hop311 <hop3114@gmail.com>2024-01-13 21:48:08 +0100
commit70948572ef0fb5c6dae453c410fdaedfab36741b (patch)
tree8e2f7f4de34ec3d62e55f9918ce26900c16a5d0f /src/openvic-simulation/dataloader
parent046e5619277c6f3dffbb29244b4b88029da31bee (diff)
Reworked UniqueKeyRegistry template params + added support for std::deque storage
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()
)) {