mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 16:55:07 +02:00
Fix mapping comparision in getAssetStatus being done against path
This commit is contained in:
parent
2aa39e7da4
commit
9ce0f03aa2
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ BakingStatus AssetServer::getAssetStatus(const AssetPath& path, const AssetHash&
|
|||
auto bakedPath = "/.baked/" + hash + "/" + bakedFilename;
|
||||
auto jt = _fileMappings.find(bakedPath);
|
||||
if (jt != _fileMappings.end()) {
|
||||
if (jt->first == hash) {
|
||||
if (jt->second == hash) {
|
||||
return NotBaked;
|
||||
} else {
|
||||
return Baked;
|
||||
|
|
Loading…
Reference in a new issue