diff options
Diffstat (limited to 'src/openvic-simulation/map/ProvinceInstance.cpp')
-rw-r--r-- | src/openvic-simulation/map/ProvinceInstance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/map/ProvinceInstance.cpp b/src/openvic-simulation/map/ProvinceInstance.cpp index e8361da..4efcfee 100644 --- a/src/openvic-simulation/map/ProvinceInstance.cpp +++ b/src/openvic-simulation/map/ProvinceInstance.cpp @@ -42,7 +42,7 @@ ProvinceInstance::ProvinceInstance( GoodDefinition const* ProvinceInstance::get_rgo_good() const { if(!rgo.is_valid()) { return nullptr; } - return rgo.get_production_type()->get_output_good(); + return &(rgo.get_production_type()->get_output_good()); } void ProvinceInstance::set_rgo_production_type(ProductionType const& rgo_production_type) { if(rgo_production_type.get_template_type() != ProductionType::template_type_t::RGO) { |