Fixed typo in gdscript autocompletion.
There was a missing '!' sign, but autocompletion shows parent script members too.
This commit is contained in:
parent
3ceefab232
commit
edaf77abd6
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue