fixed Ultima not working in multiplayer
This commit is contained in:
1 parent
0e518f6afe
commit
f0a006ef17
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user