Fixed Flak Kraken Recticle in MP

This commit is contained in:
Dominic authored and Cameron Ewell committed 2020-10-12 18:00:07 -04:00
1 parent e15a25c6f6
commit ec2002d950
1 file changed
+7
+7
View File
@@ -40,6 +40,13 @@ namespace CalamityMod.Projectiles.Ranged
projectile.Kill();
return;
}
// This code uses player-specific fields (such as the mouse), and does not need to be run for anyone
// other than its owner.
if (Main.myPlayer != projectile.owner)
return;
projectile.rotation += 0.2f;
if (projectile.localAI[0] < 1f)
{