You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Unify usage of GLOBAL/EDITOR_GET
This commit is contained in:
@@ -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<String> &translation_names = ProjectSettings::get_singleton()->get(p_from);
|
||||
const Vector<String> &translation_names = GLOBAL_GET(p_from);
|
||||
|
||||
int tcount = translation_names.size();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user