diff --git a/plugins/script_loader/source/plugin_script_loader.cpp b/plugins/script_loader/source/plugin_script_loader.cpp index 6d075b502..3b60fc9f5 100644 --- a/plugins/script_loader/source/plugin_script_loader.cpp +++ b/plugins/script_loader/source/plugin_script_loader.cpp @@ -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(); + } }