fix animation loading

This commit is contained in:
MihailRis 2024-08-22 23:50:46 +03:00
parent 5500fe34ac
commit 719135fe19
2 changed files with 7 additions and 1 deletions

View file

@ -194,6 +194,9 @@ void AssetsLoader::processPreloadConfigs(const Content* content) {
return;
}
for (auto& entry : content->getPacks()) {
if (entry.first == "core") {
continue;
}
const auto& pack = entry.second;
auto preloadFile = pack->getInfo().folder / fs::path("preload.json");
if (fs::exists(preloadFile)) {