Fix empty Flip pedestals erroring out

This commit is contained in:
Buurazu authored and GitHub committed 2022-12-24 17:21:50 -05:00
1 parent dac5c34896
commit 4d7a1c769f
1 file changed
+1
+1
View File
@@ -458,6 +458,7 @@ function EID:getObjectItemTypeAndCharge(descObj)
return
end
local itemConfig = EID.itemConfig:GetCollectible(descObj.ObjSubType)
if not itemConfig then return end
descObj.ItemType = itemConfig.Type or -1
if descObj.ItemType == ItemType.ITEM_ACTIVE then