From 12c40d21933736f142bc06ec3d8bc9c0b020894c Mon Sep 17 00:00:00 2001 From: Wofsauge Date: Sun, 17 Nov 2024 17:25:05 +0100 Subject: [PATCH] Fixed Magdalenes pill not being identified when "show used pills" option is active closes #734 --- features/eid_api.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/features/eid_api.lua b/features/eid_api.lua index 77453b35..767e5978 100644 --- a/features/eid_api.lua +++ b/features/eid_api.lua @@ -2015,6 +2015,10 @@ function EID:evaluateHeldPill() for i = 0, game:GetNumPlayers() - 1 do local player = Isaac.GetPlayer(i) EID.PlayerHeldPill[i] = player:GetPill(0) + -- Magdalene starts with an identified pill. We need to account for that + if player:GetPlayerType() == PlayerType.PLAYER_MAGDALENE and player.FrameCount <= 1 then + EID.UsedPillColors[tostring(EID.PlayerHeldPill[i])] = true + end end end