small fix

This commit is contained in:
MihailRis 2024-04-23 04:09:39 +03:00
parent cc5784c878
commit a34fff3515

View File

@ -211,6 +211,9 @@ bool AssetsLoader::loadExternalTexture(
const std::string& name,
std::vector<std::filesystem::path> alternatives
) {
if (assets->getTexture(name) != nullptr) {
return true;
}
for (auto& path : alternatives) {
if (fs::exists(path)) {
try {