avoid any potential issues from AB+ using the collectible unlock check
This commit is contained in:
1 parent
7e7714ec89
commit
e12cdad6de
1 file changed
+2
@@ -800,6 +800,8 @@ function EID:isCollectibleUnlocked(collectibleID, itemPoolOfItem)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function EID:isCollectibleUnlockedAnyPool(collectibleID)
|
function EID:isCollectibleUnlockedAnyPool(collectibleID)
|
||||||
|
--THIS FUNCTION IS FOR REPENTANCE ONLY due to using Repentance XML data; currently used by the Achievement Check, Spindown Dice, and Bag of Crafting
|
||||||
|
if not REPENTANCE then return true end
|
||||||
local item = EID.itemConfig:GetCollectible(collectibleID)
|
local item = EID.itemConfig:GetCollectible(collectibleID)
|
||||||
if EID.itemUnlockStates[collectibleID] == nil then
|
if EID.itemUnlockStates[collectibleID] == nil then
|
||||||
--whitelist all quest items and items with no associated achievement
|
--whitelist all quest items and items with no associated achievement
|
||||||
|
|||||||
Reference in new issue
Block a user