diff options
| author | mbalint12 | 2017-03-17 23:27:44 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2017-03-19 00:43:07 +0100 |
| commit | 82ad45024fa320cbab3abe7387482b431ecb71b0 (patch) | |
| tree | 6482fa69d9134aff3d954f14e7230c56ca8e98be /modules/gdscript/gd_editor.cpp | |
| parent | e3e86567ba7fa12092ae78b88a31e966b2338310 (diff) | |
| download | godot-82ad45024fa320cbab3abe7387482b431ecb71b0.tar.gz godot-82ad45024fa320cbab3abe7387482b431ecb71b0.tar.zst godot-82ad45024fa320cbab3abe7387482b431ecb71b0.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 b36a20752..c861120de 100644 --- a/modules/gdscript/gd_editor.cpp +++ b/modules/gdscript/gd_editor.cpp @@ -387,7 +387,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(); } |
