diff --git a/src/ZoneCommon/Pool/GlobalAssetPool.h b/src/ZoneCommon/Pool/GlobalAssetPool.h index 39aeb4ce..2a328456 100644 --- a/src/ZoneCommon/Pool/GlobalAssetPool.h +++ b/src/ZoneCommon/Pool/GlobalAssetPool.h @@ -171,7 +171,8 @@ public: static XAssetInfo* GetAssetByName(const std::string& name) { - const auto foundEntry = m_assets.find(name); + const auto normalizedName = XAssetInfo::NormalizeAssetName(name); + const auto foundEntry = m_assets.find(normalizedName); if (foundEntry == m_assets.end()) return nullptr;