From 72ae774f249fb408d5a3e3de09695c251906a7cc Mon Sep 17 00:00:00 2001 From: hop311 Date: Sat, 8 Jun 2024 16:06:16 +0100 Subject: Update to use GoodInstance --- extension/src/openvic-extension/singletons/MenuSingleton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extension/src/openvic-extension') diff --git a/extension/src/openvic-extension/singletons/MenuSingleton.cpp b/extension/src/openvic-extension/singletons/MenuSingleton.cpp index d382d75..92af168 100644 --- a/extension/src/openvic-extension/singletons/MenuSingleton.cpp +++ b/extension/src/openvic-extension/singletons/MenuSingleton.cpp @@ -217,7 +217,7 @@ Dictionary MenuSingleton::get_province_info_from_index(int32_t index) const { ret[province_info_controller_key] = std_view_to_godot_string(controller->get_identifier()); } - Good const* rgo = province->get_rgo(); + GoodDefinition const* rgo = province->get_rgo(); if (rgo != nullptr) { ret[province_info_rgo_name_key] = std_view_to_godot_string(rgo->get_identifier()); ret[province_info_rgo_icon_key] = static_cast(rgo->get_index()); -- cgit v1.2.3-56-ga3b1