diff options
| author | mbalint12 | 2017-03-17 23:27:44 +0100 |
|---|---|---|
| committer | mbalint12 | 2017-03-17 23:27:44 +0100 |
| commit | edaf77abd614d1260c6827f25045cc0473a08117 (patch) | |
| tree | d5c35ea5f14f67889aa597658faa43eda3c0afd1 /modules/gdscript/gd_editor.cpp | |
| parent | 3ceefab232604b09d3fff843c24a13e99f50912b (diff) | |
| download | godot-edaf77abd614d1260c6827f25045cc0473a08117.tar.gz godot-edaf77abd614d1260c6827f25045cc0473a08117.tar.zst godot-edaf77abd614d1260c6827f25045cc0473a08117.zip | |
Diffstat (limited to 'modules/gdscript/gd_editor.cpp')
| -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 bd428941e..702876ecd 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(); } |
