Fixed Magdalenes pill not being identified when "show used pills" option is active
closes #734
This commit is contained in:
1 parent
fae2b8f671
commit
12c40d2193
1 file changed
+4
@@ -2015,6 +2015,10 @@ function EID:evaluateHeldPill()
|
|||||||
for i = 0, game:GetNumPlayers() - 1 do
|
for i = 0, game:GetNumPlayers() - 1 do
|
||||||
local player = Isaac.GetPlayer(i)
|
local player = Isaac.GetPlayer(i)
|
||||||
EID.PlayerHeldPill[i] = player:GetPill(0)
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user