diff options
| author | Aina <146054046+AinaVT@users.noreply.github.com> | 2024-08-28 17:03:12 -0300 |
|---|---|---|
| committer | Aina <146054046+AinaVT@users.noreply.github.com> | 2024-08-28 17:03:12 -0300 |
| commit | 930742f8b3e235778aa6ceecb8f0d61fc2ceb422 (patch) | |
| tree | c93d4f375de2851532b73f4dbe555d78ba9133a2 | |
| parent | 40b378e9e2338d84f897f6991cc913a713295785 (diff) | |
| download | redot-engine-930742f8b3e235778aa6ceecb8f0d61fc2ceb422.tar.gz | |
Fix missing GDScriptParser reference on completion context
| -rw-r--r-- | modules/gdscript/gdscript_parser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp index c4cef0287f..582305d900 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; } |
