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:
1 parent
e62f5268e5
commit
3325f986cc
1 file changed
+1
-1
@@ -841,7 +841,7 @@ function EID:renderIndicator(entity, playerNum)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
local repDiv = 1
|
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)
|
local ArrowOffset = Vector(0, -35)
|
||||||
if entity.Variant == 100 and not entity:ToPickup():IsShopItem() then
|
if entity.Variant == 100 and not entity:ToPickup():IsShopItem() then
|
||||||
ArrowOffset = Vector(0, -62)
|
ArrowOffset = Vector(0, -62)
|
||||||
|
|||||||
Reference in new issue
Block a user