fix ResPaths::listdir

This commit is contained in:
MihailRis 2025-02-03 21:56:44 +03:00
parent e31952b990
commit ef170247cc

View File

@ -286,7 +286,7 @@ std::vector<io::path> ResPaths::listdir(
io::path folder = root.path / folderName;
if (!io::is_directory(folder)) continue;
for (const auto& entry : io::directory_iterator(folder)) {
entries.push_back(folder / entry);
entries.push_back(entry);
}
}
return entries;