From 3325f986cc7adad396ecd37f886e5025505d9078 Mon Sep 17 00:00:00 2001 From: An-Annoying-Cat <57719091+An-Annoying-Cat@users.noreply.github.com> Date: Tue, 24 Sep 2024 11:09:52 -0500 Subject: [PATCH] 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 --- main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.lua b/main.lua index 3478c166..4ca879a1 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 + 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)