From 0edd46e3fcff8b909a43f8505d1c590e3311e86e Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Wed, 15 Feb 2023 08:59:11 +0800 Subject: Fix editor language dropdown incomplete in some locales --- editor/editor_settings.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'editor') 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 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) { -- cgit v1.2.3