From ec2002d950821f3dcc98118b305fcbc7f9bfb7b1 Mon Sep 17 00:00:00 2001 From: Dominic Date: Fri, 9 Oct 2020 18:35:59 -0500 Subject: [PATCH] Fixed Flak Kraken Recticle in MP --- Projectiles/Ranged/FlakKrakenProj.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Projectiles/Ranged/FlakKrakenProj.cs b/Projectiles/Ranged/FlakKrakenProj.cs index 3f3e24d321..b9d7503c49 100644 --- a/Projectiles/Ranged/FlakKrakenProj.cs +++ b/Projectiles/Ranged/FlakKrakenProj.cs @@ -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) {