aboutsummaryrefslogtreecommitdiff
path: root/extension/src/openvic-extension/singletons
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-06-08 17:06:16 +0200
committer hop311 <hop3114@gmail.com>2024-06-13 21:24:23 +0200
commit72ae774f249fb408d5a3e3de09695c251906a7cc (patch)
tree9f3142a087593addfedebc8ba681472d5b26e942 /extension/src/openvic-extension/singletons
parent508a3ad82c9e20092ede373cdff7ec8d4ed9e881 (diff)
Update to use GoodInstancegood-instance
Diffstat (limited to 'extension/src/openvic-extension/singletons')
-rw-r--r--extension/src/openvic-extension/singletons/MenuSingleton.cpp2
1 files changed, 1 insertions, 1 deletions
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());