aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/politics/Ideology.cpp
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-09-19 21:58:29 +0200
committer zaaarf <zaaarf@proton.me>2023-09-19 21:58:29 +0200
commit33787f89686cd03a6ae7305bc51add5ac47fbde2 (patch)
treee9f370f392839f0315b01722a61e09085c49458e /src/openvic-simulation/politics/Ideology.cpp
parentb1349e8dfa0c840ca82472fb7f342de08ed8804b (diff)
feat: added PartyIssue and PoliticalReform structs
Diffstat (limited to 'src/openvic-simulation/politics/Ideology.cpp')
-rw-r--r--src/openvic-simulation/politics/Ideology.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/politics/Ideology.cpp b/src/openvic-simulation/politics/Ideology.cpp
index 5430140..be7e645 100644
--- a/src/openvic-simulation/politics/Ideology.cpp
+++ b/src/openvic-simulation/politics/Ideology.cpp
@@ -44,5 +44,5 @@ bool IdeologyManager::add_ideology(const std::string_view identifier, colour_t c
return false;
}
- return ideologies.add_item({ identifier, colour, identifier, uncivilised, spawn_date });
+ return ideologies.add_item({ identifier, colour, *group, uncivilised, spawn_date });
} \ No newline at end of file