Fix Curse of the Blind + Show Alt Path interaction
This commit is contained in:
1 parent
f3e7dd3c31
commit
26a9dffc22
1 file changed
+4
@@ -167,6 +167,10 @@ questionMarkSprite:ReplaceSpritesheet(1,"gfx/items/collectibles/questionmark.png
|
|||||||
questionMarkSprite:LoadGraphics()
|
questionMarkSprite:LoadGraphics()
|
||||||
|
|
||||||
function EID:IsAltChoice(pickup)
|
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
|
if pickup:GetData() == nil then
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user