Void Spindown support

This commit is contained in:
Buurazu authored and GitHub committed 2022-01-17 13:00:33 -05:00
1 parent b3bc547cf4
commit 0f90afd1db
1 file changed
+1 -1
+1 -1
View File
@@ -106,7 +106,7 @@ local game = Game()
if descObj.ObjType ~= 5 or descObj.ObjVariant ~= PickupVariant.PICKUP_COLLECTIBLE then
return false
end
if EID:PlayersHaveCollectible(CollectibleType.COLLECTIBLE_SPINDOWN_DICE) then
if EID:PlayersHaveCollectible(CollectibleType.COLLECTIBLE_SPINDOWN_DICE) or (EID.absorbedSpindown and EID:PlayersHaveCollectible(CollectibleType.COLLECTIBLE_VOID)) then
return true
end
return false