aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author wvpm <24685035+wvpm@users.noreply.github.com>2024-09-22 11:10:52 +0200
committer wvpm <24685035+wvpm@users.noreply.github.com>2024-09-22 11:10:52 +0200
commit5a819de3019f8497dddae8e76d01f48cf8a86adb (patch)
treeb4bac9db0ad39b4cb6af594f0e65bcd5960b9fe3
parentea9b695022d197d918f1bb4292a0f424018dad37 (diff)
output_goods back to ZERO_OR_ONE
-rw-r--r--src/openvic-simulation/economy/production/ProductionType.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/economy/production/ProductionType.cpp b/src/openvic-simulation/economy/production/ProductionType.cpp
index 1503d4b..bc5bc0b 100644
--- a/src/openvic-simulation/economy/production/ProductionType.cpp
+++ b/src/openvic-simulation/economy/production/ProductionType.cpp
@@ -292,7 +292,7 @@ bool ProductionTypeManager::load_production_types_file(
"workforce", ZERO_OR_ONE, expect_uint(assign_variable_callback(base_workforce_size)),
"input_goods", ZERO_OR_ONE,
good_definition_manager.expect_good_definition_decimal_map(move_variable_callback(input_goods)),
- "output_goods", ONE_EXACTLY,
+ "output_goods", ZERO_OR_ONE,
good_definition_manager.expect_good_definition_identifier(assign_variable_callback_pointer(output_good)),
"value", ZERO_OR_ONE, expect_fixed_point(assign_variable_callback(base_output_quantity)),
"efficiency", ZERO_OR_ONE, good_definition_manager.expect_good_definition_decimal_map(