aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/politics/NationalValue.cpp
diff options
context:
space:
mode:
author Hop311 <Hop3114@gmail.com>2024-09-21 09:03:51 +0200
committer GitHub <noreply@github.com>2024-09-21 09:03:51 +0200
commite35ff8ed703b0b6a5496a21a29e0b274c6a36874 (patch)
tree68fca0f77f6b20f3e1fe98d32a5a79311cfd3edc /src/openvic-simulation/politics/NationalValue.cpp
parent118570dc7cf9ae9daf324c2aaba5a5d86fb2c330 (diff)
parent3fcdd0c7fce2de4cbe14a0cc3d6fb4c2731b93d9 (diff)
Merge pull request #205 from OpenVicProject/modifier-typesfix-modifiers
Modifier types
Diffstat (limited to 'src/openvic-simulation/politics/NationalValue.cpp')
-rw-r--r--src/openvic-simulation/politics/NationalValue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/politics/NationalValue.cpp b/src/openvic-simulation/politics/NationalValue.cpp
index b780195..e9f7f2a 100644
--- a/src/openvic-simulation/politics/NationalValue.cpp
+++ b/src/openvic-simulation/politics/NationalValue.cpp
@@ -4,7 +4,7 @@ using namespace OpenVic;
using namespace OpenVic::NodeTools;
NationalValue::NationalValue(std::string_view new_identifier, ModifierValue&& new_modifiers)
- : Modifier { new_identifier, std::move(new_modifiers) } {}
+ : Modifier { new_identifier, std::move(new_modifiers), modifier_type_t::NATIONAL_VALUE } {}
bool NationalValueManager::add_national_value(std::string_view identifier, ModifierValue&& modifiers) {
if (identifier.empty()) {