1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Fix slight issues with autocompletion and member lists in GDScript

Fixes #27152
Fixes #28591
This commit is contained in:
Bojidar Marinov
2019-05-02 17:13:45 +03:00
parent 46b6fb83ef
commit f9d9530902
2 changed files with 2 additions and 2 deletions

View File

@@ -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();