detect low collectible counts as well as high
This commit is contained in:
1 parent
d24ac1f5ba
commit
db6c62808d
1 file changed
+2
-1
+2
-1
@@ -764,7 +764,8 @@ function EID:getSpindownResult(collectibleID)
|
||||
end
|
||||
|
||||
function EID:GetMaxCollectibleID()
|
||||
local id = CollectibleType.NUM_COLLECTIBLES-1
|
||||
--start a little lower than NUM_COLLECTIBLES, due to mods with outdated items.xmls that are missing newer items
|
||||
local id = CollectibleType.NUM_COLLECTIBLES-17
|
||||
local step = 16
|
||||
while step > 0 do
|
||||
if EID.itemConfig:GetCollectible(id+step) ~= nil then
|
||||
|
||||
Reference in new issue
Block a user