From e48c5daddfa70172c0eab57b8045a7087eec6e2c Mon Sep 17 00:00:00 2001 From: kobewi Date: Tue, 18 Oct 2022 16:43:37 +0200 Subject: Unify usage of GLOBAL/EDITOR_GET --- core/string/translation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/string') diff --git a/core/string/translation.cpp b/core/string/translation.cpp index 9ee7f2b17b..1f5c84c321 100644 --- a/core/string/translation.cpp +++ b/core/string/translation.cpp @@ -628,7 +628,7 @@ TranslationServer *TranslationServer::singleton = nullptr; bool TranslationServer::_load_translations(const String &p_from) { if (ProjectSettings::get_singleton()->has_setting(p_from)) { - const Vector &translation_names = ProjectSettings::get_singleton()->get(p_from); + const Vector &translation_names = GLOBAL_GET(p_from); int tcount = translation_names.size(); -- cgit v1.2.3