collectible lock check tweaks
This commit is contained in:
1 parent
598019686b
commit
abbb79f065
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -755,7 +755,7 @@ function EID:getSpindownResult(collectibleID)
|
||||
local newID = collectibleID
|
||||
repeat
|
||||
newID = newID - 1
|
||||
--note: the order of this statement is important so that the item is checked for being in a pool (to display a ? if it isn't)
|
||||
--note: the order of the SkipLocked check statement is important so that the item is checked for being in a pool either way (to display a ? if it isn't)
|
||||
until (config:GetCollectible(newID) and (EID:isCollectibleUnlockedAnyPool(newID) or not EID.Config["SpindownDiceSkipLocked"]) and not config:GetCollectible(newID).Hidden) or newID == CollectibleType.COLLECTIBLE_NULL
|
||||
return newID
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user