Fixed being able to toss the SHPC item while using right-click

This commit is contained in:
CongratsIsTrash committed 2026-01-21 19:28:33 -05:00
1 parent 40abe6f014
commit 4ecf4e8a29
1 file changed
+1
+1
View File
@@ -143,6 +143,7 @@ namespace CalamityMod.Projectiles.Magic
Owner.heldProj = Projectile.whoAmI;
Owner.ChangeDir(Math.Sign((Owner.Calamity().mouseWorld - Owner.Center).X));
Owner.SetCompositeArmFront(true, Player.CompositeArmStretchAmount.Full, (Owner.Center - Owner.Calamity().mouseWorld).ToRotation() * Owner.gravDir + MathHelper.PiOver2);
Owner.SetDummyItemTime(2);
Projectile.rotation = Utils.DirectionTo(Owner.Center, Owner.Calamity().mouseWorld).ToRotation();
Projectile.velocity = Vector2.Zero;
Projectile.Center = Owner.Center;