Fixed Prov's Holy Ray still existing after she dies

This commit is contained in:
termigator1359 committed 2020-09-18 17:25:36 -04:00
1 parent 07afc19f11
commit 22b93b8f97
1 file changed
+2
+2
View File
@@ -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)
{