diff --git a/src/MaaCore/Config/ResourceLoader.cpp b/src/MaaCore/Config/ResourceLoader.cpp index 0ce54188ff..fb265bb74b 100644 --- a/src/MaaCore/Config/ResourceLoader.cpp +++ b/src/MaaCore/Config/ResourceLoader.cpp @@ -49,7 +49,7 @@ bool asst::ResourceLoader::load(const std::filesystem::path& path) { \ LogTraceScope(std::string("LoadCacheWithoutRet ") + #Config); \ auto full_path = UserDir.get() / "cache"_p / Dir; \ - load_resource(full_path); \ + SingletonHolder::get_instance().load(full_path); \ } LogTraceFunction;