Fixed typo in gdscript autocompletion.
There was a missing '!' sign, but autocompletion shows parent script members too.
(cherry picked from commit edaf77abd6
)
This commit is contained in:
parent
e3e86567ba
commit
82ad45024f
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue