diff options
author | Hop311 <hop3114@gmail.com> | 2023-09-29 00:33:46 +0200 |
---|---|---|
committer | Hop311 <hop3114@gmail.com> | 2023-09-29 00:39:06 +0200 |
commit | 1e40569a49ab0d557a2a43ee900f4f28d5c81cd3 (patch) | |
tree | 745235805b36eb98092c072fba884263d794dba5 /src/openvic-simulation/pop/Religion.cpp | |
parent | 84b5ee7a7749e2dbfeb214b4cedd16d5522f4197 (diff) |
Data types, defaults, callback cleanup
Diffstat (limited to 'src/openvic-simulation/pop/Religion.cpp')
-rw-r--r-- | src/openvic-simulation/pop/Religion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/pop/Religion.cpp b/src/openvic-simulation/pop/Religion.cpp index c679e00..32a3219 100644 --- a/src/openvic-simulation/pop/Religion.cpp +++ b/src/openvic-simulation/pop/Religion.cpp @@ -91,7 +91,7 @@ bool ReligionManager::load_religion_file(ast::NodeCPtr root) { bool pagan = false; bool ret = expect_dictionary_keys( - "icon", ONE_EXACTLY, expect_uint(assign_variable_callback_uint("religion icon", icon)), + "icon", ONE_EXACTLY, expect_uint(assign_variable_callback_uint(icon)), "color", ONE_EXACTLY, expect_colour(assign_variable_callback(colour)), "pagan", ZERO_OR_ONE, expect_bool(assign_variable_callback(pagan)) )(value); |