From: themias <89101928+themias@users.noreply.github.com> Date: Wed, 29 Jan 2025 10:11:08 +0000 (-0500) Subject: Fix thrust animation rotation (#34713) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=8a12017cfd750b50ca8e2c9ab2755ffb1c452b73;p=space-station-14.git Fix thrust animation rotation (#34713) * Fix thrust animation rotation * directly update sprite instead --- diff --git a/Content.Client/Weapons/Melee/MeleeWeaponSystem.Effects.cs b/Content.Client/Weapons/Melee/MeleeWeaponSystem.Effects.cs index 540d76c129..9e20d2d5a9 100644 --- a/Content.Client/Weapons/Melee/MeleeWeaponSystem.Effects.cs +++ b/Content.Client/Weapons/Melee/MeleeWeaponSystem.Effects.cs @@ -138,6 +138,7 @@ public sealed partial class MeleeWeaponSystem const float length = 0.15f; var startOffset = sprite.Rotation.RotateVec(new Vector2(0f, -distance / 5f)); var endOffset = sprite.Rotation.RotateVec(new Vector2(0f, -distance)); + sprite.Rotation += spriteRotation; return new Animation() {