From 8a12017cfd750b50ca8e2c9ab2755ffb1c452b73 Mon Sep 17 00:00:00 2001 From: themias <89101928+themias@users.noreply.github.com> Date: Wed, 29 Jan 2025 05:11:08 -0500 Subject: [PATCH] Fix thrust animation rotation (#34713) * Fix thrust animation rotation * directly update sprite instead --- Content.Client/Weapons/Melee/MeleeWeaponSystem.Effects.cs | 1 + 1 file changed, 1 insertion(+) 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() { -- 2.51.2