Fix Curse of the Blind + Show Alt Path interaction

This commit is contained in:
Buurazu authored and GitHub committed 2022-01-06 03:35:28 -05:00
1 parent f3e7dd3c31
commit 26a9dffc22
1 file changed
+4
+4
View File
@@ -167,6 +167,10 @@ questionMarkSprite:ReplaceSpritesheet(1,"gfx/items/collectibles/questionmark.png
questionMarkSprite:LoadGraphics()
function EID:IsAltChoice(pickup)
-- do not run this while Curse of the Blind is active, since this function is really just a "is collectible pedestal a red question mark" check
if game:GetLevel():GetCurses() & LevelCurse.CURSE_OF_BLIND == LevelCurse.CURSE_OF_BLIND then
return false
end
if pickup:GetData() == nil then
return false
end