From f87d53b281c2bccd25c64542e6e7207fb89c031c Mon Sep 17 00:00:00 2001 From: DominicKarma42 <51094361+DominicKarma@users.noreply.github.com> Date: Sat, 14 Dec 2019 21:59:03 -0600 Subject: [PATCH] Gods Paranoia bugfix --- Projectiles/Rogue/GodsParanoiaProj.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Projectiles/Rogue/GodsParanoiaProj.cs b/Projectiles/Rogue/GodsParanoiaProj.cs index a6e3aa9f10..93dd511324 100644 --- a/Projectiles/Rogue/GodsParanoiaProj.cs +++ b/Projectiles/Rogue/GodsParanoiaProj.cs @@ -94,6 +94,10 @@ namespace CalamityMod.Projectiles.Rogue flag55 = true; } int num989 = (int)projectile.ai[1]; + if (!Main.npc[num989].active) + { + projectile.Kill(); + } if ((projectile.localAI[0] <= (float)(60 * num988)) && (num989 > 0 || num989 <= 200) && Main.npc[num989].active && !Main.npc[num989].dontTakeDamage) { projectile.Center = Main.npc[num989].Center - projectile.velocity * 2f;