fix: 修复无法对后续加载的图片资源进行存在检测的错误,跳过宿舍技能检查

This commit is contained in:
status102
2023-10-04 11:54:48 +08:00
parent 2a2c137d82
commit 40d092b11b
3 changed files with 6 additions and 2 deletions

View File

@@ -153,6 +153,7 @@ bool asst::ResourceLoader::load(const std::filesystem::path& path)
// 重要的资源,实时加载(图片还是惰性的)
LoadResourceWithTemplAndCheckRet(TaskData, "tasks.json"_p, "template"_p);
// 基建技能路径,无法变更(基于热更屎山)
LoadResourceWithTemplAndCheckRet(InfrastConfig, "infrast.json"_p, "template"_p / "infrast"_p);
LoadResourceWithTemplAndCheckRet(ItemConfig, "item_index.json"_p, "template"_p / "items"_p);