diff options
author | Hop311 <Hop3114@gmail.com> | 2024-06-18 21:30:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-18 21:30:57 +0200 |
commit | 5a35e5f511c6af55c63cc0303e05da2812ab21a8 (patch) | |
tree | 9f3142a087593addfedebc8ba681472d5b26e942 /extension | |
parent | ace94963c36fb21288dbaf59b0191223adae6521 (diff) | |
parent | 72ae774f249fb408d5a3e3de09695c251906a7cc (diff) |
Merge pull request #234 from OpenVicProject/good-instance
Update to use GoodInstance
Diffstat (limited to 'extension')
m--------- | extension/deps/openvic-simulation | 0 | ||||
-rw-r--r-- | extension/src/openvic-extension/singletons/MenuSingleton.cpp | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/extension/deps/openvic-simulation b/extension/deps/openvic-simulation -Subproject a49e4d0975e2b5dfd13ae50aa716f1a0307e618 +Subproject 01a8f60aaca9784d814f4cb35a3fc4be86e1dd2 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<int32_t>(rgo->get_index()); |