From 229e5f8c5978fd155e3922e316a5448205113c6f Mon Sep 17 00:00:00 2001 From: An-Annoying-Cat <57719091+An-Annoying-Cat@users.noreply.github.com> Date: Sat, 14 Sep 2024 22:19:19 -0500 Subject: [PATCH] position offset is taken into account --- main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.lua b/main.lua index 67b09f38..8b151a2a 100644 --- a/main.lua +++ b/main.lua @@ -841,7 +841,7 @@ function EID:renderIndicator(entity, playerNum) return end local repDiv = 1 - local entityPos = Isaac.WorldToScreen(entity.Position) + local entityPos = Isaac.WorldToScreen(entity.Position + entity.PositionOffset) local ArrowOffset = Vector(0, -35) if entity.Variant == 100 and not entity:ToPickup():IsShopItem() then ArrowOffset = Vector(0, -62)