From 092dd4044778bd524d30f6f7348845ba010db44c Mon Sep 17 00:00:00 2001 From: Dominic Date: Sun, 14 Mar 2021 10:28:07 -0500 Subject: [PATCH] Error fix --- NPCs/Signus/SignusBomb.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NPCs/Signus/SignusBomb.cs b/NPCs/Signus/SignusBomb.cs index 61c4e51c15..7d3928ecb6 100644 --- a/NPCs/Signus/SignusBomb.cs +++ b/NPCs/Signus/SignusBomb.cs @@ -66,7 +66,7 @@ namespace CalamityMod.NPCs.Signus npc.TargetClosest(); // Despawn safety, make sure to target another player if the current player target is too far away - if (Vector2.Distance(Main.player[npc.target].Center, vectorCenter) > CalamityGlobalNPC.CatchUpDistance200Tiles) + if (Vector2.Distance(Main.player[npc.target].Center, npc.Center) > CalamityGlobalNPC.CatchUpDistance200Tiles) npc.TargetClosest(); Player player = Main.player[npc.target];