From 930742f8b3e235778aa6ceecb8f0d61fc2ceb422 Mon Sep 17 00:00:00 2001 From: Aina <146054046+AinaVT@users.noreply.github.com> Date: Wed, 28 Aug 2024 17:03:12 -0300 Subject: [PATCH] Fix missing GDScriptParser reference on completion context --- modules/gdscript/gdscript_parser.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp index c4cef0287f1..582305d9007 100644 --- a/modules/gdscript/gdscript_parser.cpp +++ b/modules/gdscript/gdscript_parser.cpp @@ -260,6 +260,7 @@ void GDScriptParser::override_completion_context(const Node *p_for_node, Complet context.current_line = tokenizer->get_cursor_line(); context.current_argument = p_argument; context.node = p_node; + context.parser = this; completion_context = context; }