aboutsummaryrefslogtreecommitdiff
path: root/modules/mono/csharp_script.cpp
diff options
context:
space:
mode:
authorNoshyaar2017-12-27 10:29:00 +0700
committerGitHub2017-12-27 10:29:00 +0700
commitab444a8ca9093b92ef7a1be71751a5960732ac44 (patch)
tree0c3788f4a91ce1e315494b66762295814f1ef37b /modules/mono/csharp_script.cpp
parentd26b6f284f2ccfe9ecec2a8364e5f9df78829208 (diff)
parent0a0a44da8d11303d91c18d015333a3769def2304 (diff)
downloadgodot-ab444a8ca9093b92ef7a1be71751a5960732ac44.tar.gz
godot-ab444a8ca9093b92ef7a1be71751a5960732ac44.tar.zst
godot-ab444a8ca9093b92ef7a1be71751a5960732ac44.zip
Diffstat (limited to 'modules/mono/csharp_script.cpp')
-rw-r--r--modules/mono/csharp_script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp
index af5a0334c..44dd776e9 100644
--- a/modules/mono/csharp_script.cpp
+++ b/modules/mono/csharp_script.cpp
@@ -1376,7 +1376,7 @@ bool CSharpScript::_update_exports() {
hint_string = NATIVE_GDMONOCLASS_NAME(field_type.type_class);
} else {
hint = PropertyHint(CACHED_FIELD(ExportAttribute, hint)->get_int_value(attr));
- hint_string = CACHED_FIELD(ExportAttribute, hint_string)->get_string_value(attr);
+ hint_string = CACHED_FIELD(ExportAttribute, hintString)->get_string_value(attr);
}
PropertyInfo prop_info = PropertyInfo(type, name, hint, hint_string, PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_SCRIPT_VARIABLE);