From 22b93b8f976559fffe8db7d3a33093fa9ff74059 Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Fri, 18 Sep 2020 17:25:36 -0400 Subject: [PATCH] Fixed Prov's Holy Ray still existing after she dies --- Projectiles/Boss/ProvidenceHolyRay.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Projectiles/Boss/ProvidenceHolyRay.cs b/Projectiles/Boss/ProvidenceHolyRay.cs index 198d0ab69d..7fed48f237 100644 --- a/Projectiles/Boss/ProvidenceHolyRay.cs +++ b/Projectiles/Boss/ProvidenceHolyRay.cs @@ -57,6 +57,8 @@ namespace CalamityMod.Projectiles.Boss Vector2 fireFrom = new Vector2(Main.npc[(int)projectile.ai[1]].Center.X, Main.npc[(int)projectile.ai[1]].Center.Y + 32f); projectile.position = fireFrom - new Vector2(projectile.width, projectile.height) / 2f; } + else + projectile.Kill(); if (projectile.velocity.HasNaNs() || projectile.velocity == Vector2.Zero) {