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>
This commit is contained in:
@@ -98,7 +98,7 @@ namespace Content.Server.Hands.Systems
|
||||
}
|
||||
}
|
||||
|
||||
private void OnDisarmed(EntityUid uid, HandsComponent component, DisarmedEvent args)
|
||||
private void OnDisarmed(EntityUid uid, HandsComponent component, ref DisarmedEvent args)
|
||||
{
|
||||
if (args.Handled)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user