Update eid_api.lua

This commit is contained in:
kittenchilly committed 2021-10-20 09:49:45 -05:00
1 parent d691e29570
commit a640ba2922
1 file changed
+1 -1
+1 -1
View File
@@ -755,7 +755,7 @@ function EID:getSpindownResult(collectibleID)
local newID = collectibleID
repeat
newID = newID - 1
until (config:GetCollectible(newID) and EID:isCollectibleUnlockedAnyPool(newID) and not config:GetCollectible(newID).Hidden) or newID == CollectibleType.COLLECTIBLE_NULL
until (config:GetCollectible(newID) and not config:GetCollectible(newID).Hidden) or newID == CollectibleType.COLLECTIBLE_NULL
return newID
end