diff options
author | zaaarf <me@zaaarf.foo> | 2023-12-28 00:53:02 +0100 |
---|---|---|
committer | zaaarf <me@zaaarf.foo> | 2023-12-28 00:53:02 +0100 |
commit | d325f1070fda2c0aaee2aa9dccbbf89b7fae7153 (patch) | |
tree | 642e14678b56fb71be751257fa0672c8877104cc /src/openvic-simulation/dataloader/Dataloader.cpp | |
parent | cc808c115d8ec6c7b6e47db47f81395b4d52941f (diff) |
feat: rule and modifier loading for issues and reforms
Diffstat (limited to 'src/openvic-simulation/dataloader/Dataloader.cpp')
-rw-r--r-- | src/openvic-simulation/dataloader/Dataloader.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/openvic-simulation/dataloader/Dataloader.cpp b/src/openvic-simulation/dataloader/Dataloader.cpp index fc4e64c..2018f27 100644 --- a/src/openvic-simulation/dataloader/Dataloader.cpp +++ b/src/openvic-simulation/dataloader/Dataloader.cpp @@ -787,7 +787,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!"); |