aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/dataloader
diff options
context:
space:
mode:
author zaaarf <80046572+zaaarf@users.noreply.github.com>2023-12-28 00:56:25 +0100
committer GitHub <noreply@github.com>2023-12-28 00:56:25 +0100
commit56a865d7d0868b785eb6b9b723f0e52f65e6457d (patch)
treeea3481a0b85583cc4b3daec597c2432a4acb657a /src/openvic-simulation/dataloader
parentc994cf687ee90879275f917248c0c7c2b25275e2 (diff)
parentd325f1070fda2c0aaee2aa9dccbbf89b7fae7153 (diff)
Merge pull request #107 from OpenVicProject/dataloading-issues-reforms-modifiers
Dataloading Issue/Reform Modifiers and RuleSets
Diffstat (limited to 'src/openvic-simulation/dataloader')
-rw-r--r--src/openvic-simulation/dataloader/Dataloader.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/openvic-simulation/dataloader/Dataloader.cpp b/src/openvic-simulation/dataloader/Dataloader.cpp
index cc09c1a..f78499c 100644
--- a/src/openvic-simulation/dataloader/Dataloader.cpp
+++ b/src/openvic-simulation/dataloader/Dataloader.cpp
@@ -802,7 +802,8 @@ bool Dataloader::load_defines(GameManager& game_manager) const {
Logger::error("Failed to load government types!");
ret = false;
}
- if (!game_manager.get_politics_manager().get_issue_manager().load_issues_file(
+ if (!game_manager.get_politics_manager().load_issues_file(
+ game_manager.get_modifier_manager(),
parse_defines(lookup_file(issues_file)).get_file_node()
)) {
Logger::error("Failed to load issues!");