Fixes bullet rotation (#5179)

Fixes bullets being fired from weapons at the wrong rotation
This commit is contained in:
Azzy
2021-11-05 22:27:46 -06:00
committed by GitHub
parent 18651d966c
commit 064cea7dd6

View File

@@ -359,7 +359,7 @@ namespace Content.Server.Weapon.Ranged.Barrels.Components
});
projectile.Transform.LocalRotation = projectileAngle + MathHelper.PiOver2;
projectile.Transform.WorldRotation = projectileAngle + MathHelper.PiOver2;
}
#pragma warning disable 618
ammo.SendMessage(this, new BarrelFiredMessage(firedProjectiles));