Unverified Commit 97f04e42 by Rémi Verschelde Committed by GitHub

Merge pull request #37172 from theoway/autoCompletionBug

Fixed the auto-completion bug in gdscript_editor
parents 39f77f95 b192c7d1
......@@ -2150,7 +2150,7 @@ static void _find_identifiers(const GDScriptCompletionContext &p_context, bool p
}
const GDScriptParser::ClassNode *clss = p_context._class;
bool _static = !p_context.function || p_context.function->_static;
bool _static = p_context.function && p_context.function->_static;
while (clss) {
GDScriptCompletionContext c = p_context;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment