summaryrefslogtreecommitdiff
path: root/editor/editor_settings.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-01-19 16:44:27 +0100
committerGitHub <noreply@github.com>2022-01-19 16:44:27 +0100
commit249c60e9d1aacd07d87786db8059f30aed02bb68 (patch)
tree6d2ce6400a1aed8221a30200e9c1301cf9637c17 /editor/editor_settings.cpp
parent8396755cb6742ba9cb203feb43784d516390e0e2 (diff)
parentde48d5101b57991614db8d2a8f5e6a98badee11e (diff)
Merge pull request #56951 from bruvzg/fix_locale
Diffstat (limited to 'editor/editor_settings.cpp')
-rw-r--r--editor/editor_settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp
index b9291bcd0f..2b98f46c17 100644
--- a/editor/editor_settings.cpp
+++ b/editor/editor_settings.cpp
@@ -377,7 +377,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
lang_hint += locale;
int score = TranslationServer::get_singleton()->compare_locales(host_lang, locale);
- if (score >= best_score) {
+ if (score > best_score) {
best = locale;
best_score = score;
if (score == 10) {