Fix Flip checking only EID.player

This commit is contained in:
Buurazu authored and GitHub committed 2022-09-05 05:13:30 -04:00
1 parent 96f3dec561
commit f285532e24
1 file changed
+1 -1
+1 -1
View File
@@ -826,7 +826,7 @@ function EID:renderIndicator(entity, playerNum)
end
-- Move highlights a bit to fit onto the alt Item layout of Flip / Tainted Laz
if REPENTANCE and not EID:IsGridEntity(entity) then
if entity.Variant == 100 and EID.player:HasCollectible(CollectibleType.COLLECTIBLE_FLIP) and EID:getEntityData(entity, "EID_FlipItemID") then
if entity.Variant == 100 and EID:PlayersHaveCollectible(CollectibleType.COLLECTIBLE_FLIP) and EID:getEntityData(entity, "EID_FlipItemID") then
entityPos = entityPos + Vector(2.5,2.5)
elseif entity.Type == 6 and entity.Variant == 16 then
entityPos = entityPos + Vector(0,-5)