]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Refactor disarms (#36546)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Sat, 19 Apr 2025 01:38:22 +0000 (11:38 +1000)
committerGitHub <noreply@github.com>
Sat, 19 Apr 2025 01:38:22 +0000 (11:38 +1000)
commit8ab0e59db663c2b82bd7994a48b99ff5634a63e2
tree29aad0ead2cb76571ab62984f76ac070b81c18a1
parent1dbc40f051deaea7efa7958dcbfa3be13e3a83be
Refactor disarms (#36546)

* Refactor disarms

- Move client stuff to shared
- Cleanup a bunch of stuff
- Ref events
- Fix the swing sound mispredict (I noticed it on target dummies).

* Revert this change

* minor review

* Rebiew

---------

Co-authored-by: Milon <milonpl.git@proton.me>
Content.Client/Weapons/Melee/MeleeWeaponSystem.cs
Content.Server/CombatMode/Disarm/DisarmMalusComponent.cs [deleted file]
Content.Server/Hands/Systems/HandsSystem.cs
Content.Server/Weapons/Melee/MeleeWeaponSystem.cs
Content.Shared/Actions/Events/DisarmAttemptEvent.cs
Content.Shared/CombatMode/DisarmMalusComponent.cs [new file with mode: 0644]
Content.Shared/CombatMode/DisarmedEvent.cs
Content.Shared/Cuffs/SharedCuffableSystem.cs
Content.Shared/Damage/Systems/StaminaSystem.cs
Content.Shared/Weapons/Melee/SharedMeleeWeaponSystem.cs