From 26a9dffc222fba27d2c1c74afae2e92bdad72606 Mon Sep 17 00:00:00 2001 From: Buurazu Date: Thu, 6 Jan 2022 03:35:28 -0500 Subject: [PATCH] Fix Curse of the Blind + Show Alt Path interaction --- main.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.lua b/main.lua index 95b64fba..772c65a7 100644 --- a/main.lua +++ b/main.lua @@ -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