summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2023-02-15 08:59:11 +0800
committerHaoyu Qiu <timothyqiu32@gmail.com>2023-02-15 08:59:11 +0800
commit0edd46e3fcff8b909a43f8505d1c590e3311e86e (patch)
treea04c77c7ff5e3c1bce77169ae267d72bc843ff50 /editor
parent8c7b98d4526c6ba66d7f1636abb71ccbe54727c6 (diff)
Fix editor language dropdown incomplete in some locales
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_settings.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp
index dd84f3b9e1..23e32dcbd8 100644
--- a/editor/editor_settings.cpp
+++ b/editor/editor_settings.cpp
@@ -384,9 +384,6 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
if (score > 0 && score >= best_score) {
best = locale;
best_score = score;
- if (score == 10) {
- break; // Exact match, skip the rest.
- }
}
}
if (best_score == 0) {