From debbbf34d1022222897d578bcf46e91ecff77dec Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Mon, 3 Jun 2024 15:23:33 +0300 Subject: [PATCH] Try to fix Pixelorama's locale not loading when the OS locale is not set to English --- src/Autoload/Global.gd | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Autoload/Global.gd b/src/Autoload/Global.gd index 1b5ad5583..cfbde1e27 100644 --- a/src/Autoload/Global.gd +++ b/src/Autoload/Global.gd @@ -1018,8 +1018,6 @@ func path_join_array(basepaths: PackedStringArray, subpath: String) -> PackedStr func set_locale(locale: String) -> void: - if TranslationServer.get_locale() == locale: - return locale = find_nearest_locale(locale) if not locale in TranslationServer.get_loaded_locales(): var translation := load("res://Translations/%s.po" % locale)