From eca580673aec46cd6e730e7307c13afb858efd94 Mon Sep 17 00:00:00 2001 From: hop311 Date: Wed, 23 Oct 2024 00:21:25 +0100 Subject: [Work-In-Progress] Add ModifierEffectMapping --- src/openvic-simulation/dataloader/Dataloader.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/openvic-simulation/dataloader') 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; -- cgit v1.2.3-56-ga3b1