diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-09-02 16:50:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-02 16:50:14 +0200 |
commit | 97d48e04f92d3c901b6b9b162f603090f9feecff (patch) | |
tree | ccaeba2fb55b602a6dbc966f8c3cb635d4431e25 /modules | |
parent | 877912b23ccfbbb349b495bdf52b694535cc896a (diff) | |
parent | eb38bc6c0a5b52dab088ae6e6681f13a288fb9d7 (diff) |
Merge pull request #31901 from akien-mga/completion-option-fix-build
gdscript: Fix build after #24925
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gdscript/gdscript_editor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp index 9d8089f00e..925dbda620 100644 --- a/modules/gdscript/gdscript_editor.cpp +++ b/modules/gdscript/gdscript_editor.cpp @@ -2833,7 +2833,8 @@ Error GDScriptLanguage::complete_code(const String &p_code, const String &p_path if (!s.begins_with("autoload/")) { continue; } - options.insert(s.get_slice("/", 1)); + ScriptCodeCompletionOption option(s.get_slice("/", 1), ScriptCodeCompletionOption::KIND_CLASS); + options.insert(option.display, option); } } |