diff options
author | ajreckof <66184050+ajreckof@users.noreply.github.com> | 2023-06-16 11:16:33 +0200 |
---|---|---|
committer | ajreckof <66184050+ajreckof@users.noreply.github.com> | 2023-06-16 14:04:07 +0200 |
commit | e9a2060b279788ab51312c5dea0bdf20ff70fda2 (patch) | |
tree | dbc837d36e7cb96ed1bf3df3063a5d8695c32d0a /core/object | |
parent | c0d8d91b15597209a1ca865c6ff4f84f06f7de86 (diff) | |
download | redot-engine-e9a2060b279788ab51312c5dea0bdf20ff70fda2.tar.gz |
Fix wrong alphabetical order in autocompletion sorting.
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Diffstat (limited to 'core/object')
-rw-r--r-- | core/object/script_language.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/object/script_language.h b/core/object/script_language.h index 829f01fbcc..c22890e30a 100644 --- a/core/object/script_language.h +++ b/core/object/script_language.h @@ -338,7 +338,7 @@ public: Ref<Resource> icon; Variant default_value; Vector<Pair<int, int>> matches; - Vector<Pair<int, int>> last_matches; + Vector<Pair<int, int>> last_matches = { { -1, -1 } }; // This value correspond to an impossible match int location = LOCATION_OTHER; CodeCompletionOption() {} |