1
0
mirror of synced 2024-11-24 07:40:17 +01:00

impr: Initialize script loaders during splash screen again

This commit is contained in:
WerWolv 2023-07-24 15:36:57 +02:00
parent a4e4e01d2d
commit 599b43db22

View File

@ -116,10 +116,8 @@ IMHEX_PLUGIN_SETUP("Script Loader", "WerWolv", "Script Loader plugin") {
for (auto &path : romfs::list("lang"))
hex::ContentRegistry::Language::addLocalization(nlohmann::json::parse(romfs::get(path).string()));
TaskManager::doLater([] {
if (initializeAllLoaders()) {
addScriptsMenu();
}
});
if (initializeAllLoaders()) {
addScriptsMenu();
}
}