(Android) Localization files are now always setup on startup

This commit is contained in:
Leon Styhre 2024-07-04 21:49:46 +02:00
parent 311ad93337
commit 009b5b8d33

View file

@ -733,7 +733,6 @@ int main(int argc, char* argv[])
return 0;
}
Utils::Localization::setLocale();
Scripting::fireEvent("startup");
#if defined(__EMSCRIPTEN__)
@ -1014,6 +1013,12 @@ int main(int argc, char* argv[])
}
}
#if defined(__ANDROID__)
Utils::Platform::Android::setupLocalizationFiles();
#endif
Utils::Localization::setLocale();
renderer = Renderer::getInstance();
window = Window::getInstance();