From f0a006ef17dbf6ef45f7992bb58074cdbbe55cc5 Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Thu, 6 Aug 2020 18:41:10 -0400 Subject: [PATCH] fixed Ultima not working in multiplayer --- Projectiles/Ranged/UltimaBowProjectile.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Projectiles/Ranged/UltimaBowProjectile.cs b/Projectiles/Ranged/UltimaBowProjectile.cs index a5b20419e8..36fa8df5a2 100644 --- a/Projectiles/Ranged/UltimaBowProjectile.cs +++ b/Projectiles/Ranged/UltimaBowProjectile.cs @@ -49,7 +49,7 @@ namespace CalamityMod.Projectiles.Ranged projectile.Kill(); return; } - if (Main.netMode != NetmodeID.MultiplayerClient && Time % player.ActiveItem().useTime == 0) + if (projectile.owner != Main.myPlayer && Time % player.ActiveItem().useTime == 0) { int type = ProjectileID.WoodenArrowFriendly; // This doesn't really matter. It's overwritten anyway. But it is passed into the PickAmmo method. float shotSpeed = player.ActiveItem().shootSpeed;