Fixed Prov's Holy Ray still existing after she dies
This commit is contained in:
1 parent
07afc19f11
commit
22b93b8f97
1 file changed
+2
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user