diff options
author | mbalint12 <gameshow841@gmail.com> | 2017-03-17 23:27:44 +0100 |
---|---|---|
committer | mbalint12 <gameshow841@gmail.com> | 2017-03-17 23:27:44 +0100 |
commit | edaf77abd614d1260c6827f25045cc0473a08117 (patch) | |
tree | d5c35ea5f14f67889aa597658faa43eda3c0afd1 /modules/gdscript | |
parent | 3ceefab232604b09d3fff843c24a13e99f50912b (diff) |
Fixed typo in gdscript autocompletion.
There was a missing '!' sign, but autocompletion shows parent script members too.
Diffstat (limited to 'modules/gdscript')
-rw-r--r-- | modules/gdscript/gd_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gd_editor.cpp b/modules/gdscript/gd_editor.cpp index bd428941e0..702876ecdc 100644 --- a/modules/gdscript/gd_editor.cpp +++ b/modules/gdscript/gd_editor.cpp @@ -405,7 +405,7 @@ static Ref<Reference> _get_parent_class(GDCompletionContext &context) { if (script.is_null()) { return REF(); } - if (script->is_valid()) { + if (!script->is_valid()) { return REF(); } |