]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix thrust animation rotation (#34713)
authorthemias <89101928+themias@users.noreply.github.com>
Wed, 29 Jan 2025 10:11:08 +0000 (05:11 -0500)
committerGitHub <noreply@github.com>
Wed, 29 Jan 2025 10:11:08 +0000 (13:11 +0300)
* Fix thrust animation rotation

* directly update sprite instead

Content.Client/Weapons/Melee/MeleeWeaponSystem.Effects.cs

index 540d76c129bf6c9f7e319c893e3fc18665445b67..9e20d2d5a9c7f9d463bb293fca7e42f4fb5908d9 100644 (file)
@@ -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()
         {