position offset is taken into account

This commit is contained in:
An-Annoying-Cat authored and GitHub committed 2024-09-14 22:19:19 -05:00
1 parent 9d70dd6aa8
commit 229e5f8c59
1 file changed
+1 -1
+1 -1
View File
@@ -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)