Fixed bad return type for AssetManager::getAssetLooseFile

This commit is contained in:
JeffR 2025-05-26 22:18:14 -05:00
parent bb7ee38bf4
commit 51a43d5be1

View file

@ -2482,7 +2482,7 @@ const char* AssetManager::getAssetLooseFile(const char* pAssetId, const S32& ind
{
// No, so warn.
Con::warnf("Asset Manager: Failed to get loose file for asset Id '%s' as it does not exist.", pAssetId);
return false;
return StringTable->EmptyString();
}
if(index < 0 || index >= pAssetDefinition->mAssetLooseFiles.size())