fix checking Tainted characters
This commit is contained in:
1 parent
991bacb0d2
commit
de88a66d11
1 file changed
+1
-1
@@ -1193,7 +1193,7 @@ function EID:PlayersHaveCharacter(playerType, includeTainted)
|
||||
if player:GetPlayerType() == playerType then
|
||||
return true, player
|
||||
end
|
||||
if includeTainted and EID.isRepentance and Isaac.GetPlayerTypeByName(player:GetName()) == playerType then
|
||||
if includeTainted and EID.isRepentance and EID.TaintedToRegularID[player:GetPlayerType()] == playerType then
|
||||
return true, player
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user