aboutsummaryrefslogtreecommitdiff
path: root/modules/mono/csharp_script.cpp
diff options
context:
space:
mode:
authorIgnacio Etcheverry2017-12-24 03:17:48 +0100
committerIgnacio Etcheverry2017-12-24 04:20:41 +0100
commit0a0a44da8d11303d91c18d015333a3769def2304 (patch)
tree52aa25a7981c58838db4022d5b5a97691c5eb612 /modules/mono/csharp_script.cpp
parent9969c5c6a1cc103fb7b23c279b7fde0d92a5599a (diff)
downloadgodot-0a0a44da8d11303d91c18d015333a3769def2304.tar.gz
godot-0a0a44da8d11303d91c18d015333a3769def2304.tar.zst
godot-0a0a44da8d11303d91c18d015333a3769def2304.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);