aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/dataloader
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/dataloader')
-rw-r--r--src/openvic-simulation/dataloader/Dataloader.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/openvic-simulation/dataloader/Dataloader.cpp b/src/openvic-simulation/dataloader/Dataloader.cpp
index 99a8d68..0c029f7 100644
--- a/src/openvic-simulation/dataloader/Dataloader.cpp
+++ b/src/openvic-simulation/dataloader/Dataloader.cpp
@@ -898,6 +898,10 @@ bool Dataloader::load_defines(DefinitionManager& definition_manager) {
Logger::error("Failed to load interface files!");
ret = false;
}
+ if (!definition_manager.get_modifier_manager().setup_modifier_effect_mappings()) {
+ Logger::error("Failed to set up modifier effect mappings!");
+ ret = false;
+ }
if (!definition_manager.get_modifier_manager().setup_modifier_effects()) {
Logger::error("Failed to set up modifier effects!");
ret = false;