sometimes you won't have debris

This commit is contained in:
AzaezelX 2025-07-06 22:49:52 -05:00
parent e8ccb3443a
commit 0c3e0b1c05

View file

@ -283,7 +283,7 @@ bool DebrisData::preload(bool server, String &errorStr)
return false;
}
}
else
else if (!mShapeAsset.isNull())
{
errorStr = String::ToString("DebrisData::load: Couldn't load shape \"%s\"", _getShapeAssetId());
return false;