]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
FIX (#21091)
authorI.K <45953835+notquitehadouken@users.noreply.github.com>
Wed, 18 Oct 2023 14:03:00 +0000 (09:03 -0500)
committerGitHub <noreply@github.com>
Wed, 18 Oct 2023 14:03:00 +0000 (01:03 +1100)
Content.Client/Weapons/Melee/MeleeWeaponSystem.Effects.cs

index 0dd207fbb191407530a2f4c73c7e44152ca1eca1..0f2f98e76408e901565ef488be0dfd2e72a6be51 100644 (file)
@@ -46,7 +46,7 @@ public sealed partial class MeleeWeaponSystem
         if (arcComponent.Animation != WeaponArcAnimation.None
             && TryComp(weapon, out MeleeWeaponComponent? meleeWeaponComponent))
         {
-            if (user == weapon
+            if (user != weapon
                 && TryComp(weapon, out SpriteComponent? weaponSpriteComponent))
                 sprite.CopyFrom(weaponSpriteComponent);