diff options
author | Bojidar Marinov <bojidar.marinov.bg@gmail.com> | 2019-05-02 17:13:45 +0300 |
---|---|---|
committer | Bojidar Marinov <bojidar.marinov.bg@gmail.com> | 2019-05-02 17:13:45 +0300 |
commit | f9d95309024c7b7dac5c12b891cb90982f566565 (patch) | |
tree | 6e9d5c721177b899b53070e7247319430f463b1b /modules/gdscript/gdscript.cpp | |
parent | 46b6fb83efc8e021cf60502d1e42fdd912b020eb (diff) |
Fix slight issues with autocompletion and member lists in GDScript
Fixes #27152
Fixes #28591
Diffstat (limited to 'modules/gdscript/gdscript.cpp')
-rw-r--r-- | modules/gdscript/gdscript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript.cpp b/modules/gdscript/gdscript.cpp index eada389c51..33e99cb82f 100644 --- a/modules/gdscript/gdscript.cpp +++ b/modules/gdscript/gdscript.cpp @@ -226,7 +226,7 @@ void GDScript::get_script_method_list(List<MethodInfo> *p_list) const { const GDScript *current = this; while (current) { - for (const Map<StringName, GDScriptFunction *>::Element *E = member_functions.front(); E; E = E->next()) { + for (const Map<StringName, GDScriptFunction *>::Element *E = current->member_functions.front(); E; E = E->next()) { GDScriptFunction *func = E->get(); MethodInfo mi; mi.name = E->key(); |