position offset is taken into account (#726)

This commit is contained in:
An-Annoying-Cat authored and GitHub committed 2024-09-15 14:37:51 +02:00
1 parent 11afa64023
commit 83c801af72
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)