aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/dataloader
diff options
context:
space:
mode:
author George L. Albany <Megacake1234@gmail.com>2024-01-03 02:05:10 +0100
committer GitHub <noreply@github.com>2024-01-03 02:05:10 +0100
commit143a422bc1c27e6d1ebf7e3ead32fff32877797e (patch)
treea5af99c508adf4207ffe2386d5fa73b83b01ba00 /src/openvic-simulation/dataloader
parentd893c0ad8c6a0c347dcec72762be49f20886a90a (diff)
parent5fa456c21ad950a6f269b83f5e88ce8c90ae9a14 (diff)
Merge pull request #101 from OpenVicProject/spooky-scary-skeletons-send-diplo-down-your-spine
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 a09b999..b7984de 100644
--- a/src/openvic-simulation/dataloader/Dataloader.cpp
+++ b/src/openvic-simulation/dataloader/Dataloader.cpp
@@ -949,6 +949,10 @@ bool Dataloader::load_defines(GameManager& game_manager) {
Logger::error("Failed to load on actions!");
ret = false;
}
+ if (!game_manager.get_diplomacy_manager().get_diplomatic_action_manager().setup_diplomatic_actions()) {
+ Logger::error("Failed to load diplomatic actions!");
+ ret = false;
+ }
parse_scripts(game_manager);