Why is this so slow

This commit is contained in:
CongratsIsTrash committed 2024-04-28 11:24:27 -04:00
1 parent cbd5ce62e5
commit e0258aef9e
1 file changed
+2 -2
+2 -2
View File
@@ -111,8 +111,8 @@ namespace CalamityMod.Projectiles.Ranged
}
}
// Continously spawn homing bolts as it returns while empowered
if (ReturnTimer % 12 == 0 && Empowered)
// Continuously spawn homing bolts as it returns while empowered
if (ReturnTimer % 9 == 0 && Empowered)
{
Vector2 randVelocity = -Projectile.velocity.RotatedByRandom(MathHelper.Pi / 3f) * 0.5f;
if (Main.myPlayer == Projectile.owner)