fixed dark spark refusing to do damage for 2 seconds

This commit is contained in:
Ozzatron committed 2020-02-13 00:40:00 -05:00
1 parent 1e2004fa4e
commit 39a8f72d15
1 file changed
-1
-1
View File
@@ -142,7 +142,6 @@ namespace CalamityMod.Projectiles.Magic
{
vector71 = new Vector2?(Main.player[projectile.owner].Center);
}
projectile.friendly = projectile2.ai[0] > 120f;
if (projectile.velocity.HasNaNs() || projectile.velocity == Vector2.Zero)
{
projectile.velocity = -Vector2.UnitY;