fix position offset causing an error with sacrifice spikes (#729)

* fix position offset causing an error with sacrifice spikes

* ok fix it for real this time
This commit is contained in:
An-Annoying-Cat authored and GitHub committed 2024-09-24 18:09:52 +02:00
1 parent e62f5268e5
commit 3325f986cc
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 + entity.PositionOffset)
local entityPos = Isaac.WorldToScreen(entity.PositionOffset and entity.Position + entity.PositionOffset or entity.Position)
local ArrowOffset = Vector(0, -35)
if entity.Variant == 100 and not entity:ToPickup():IsShopItem() then
ArrowOffset = Vector(0, -62)