fix skeletons behaviour in preload.json

This commit is contained in:
MihailRis 2026-04-11 13:15:30 +03:00
parent ea64560b5d
commit acff945492
2 changed files with 3 additions and 2 deletions

View file

@ -287,7 +287,7 @@ void AssetsLoader::addDefaults(AssetsLoader& loader, const Content* content) {
for (const auto& file : io::directory_iterator(skeletonsDir)) {
loader.add(
AssetType::SKELETON,
file.string(),
(file.parent() / file.stem()).string(),
entry.first + ":" + file.stem()
);
}