1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

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

View File

@@ -405,7 +405,7 @@ static Ref<Reference> _get_parent_class(GDCompletionContext &context) {
if (script.is_null()) { if (script.is_null()) {
return REF(); return REF();
} }
if (script->is_valid()) { if (!script->is_valid()) {
return REF(); return REF();
} }