From 3ad0dd9dbbd11cb46a0083cf7c67ad11f3b813b5 Mon Sep 17 00:00:00 2001 From: Buurazu Date: Mon, 7 Feb 2022 04:34:43 -0500 Subject: [PATCH] Fix Tainted Forgotten co-op issue --- eid_api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eid_api.lua b/eid_api.lua index 4e239681..eedb5857 100644 --- a/eid_api.lua +++ b/eid_api.lua @@ -405,7 +405,7 @@ function EID:getAdjustedSubtype(Type, Variant, SubType) end local pool = game:GetItemPool() if REPENTANCE and EID.player:GetPlayerType() == PlayerType.PLAYER_THESOUL_B then - SubType = pool:GetPillEffect(SubType, EID.player:GetOtherTwin()) + 1 + SubType = pool:GetPillEffect(SubType, EID.player:GetOtherTwin() or EID.player) + 1 else SubType = pool:GetPillEffect(SubType, EID.player) + 1 end end return SubType