Fix empty Flip pedestals erroring out
This commit is contained in:
1 parent
dac5c34896
commit
4d7a1c769f
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user