浏览代码

Merge pull request #73318 from timothyqiu/locale-list

Fix editor language dropdown incomplete in some locales
Rémi Verschelde 2 年之前
父节点
当前提交
69becc8369
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      editor/editor_settings.cpp

+ 0 - 3
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) {