Fixed typo in gdscript autocompletion.

There was a missing '!' sign, but autocompletion shows parent script members too.
This commit is contained in:
mbalint12 2017-03-17 23:27:44 +01:00
parent 3ceefab232
commit edaf77abd6
1 changed files with 1 additions and 1 deletions

View File

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