From: J. Brown Date: Sat, 6 Jan 2024 07:07:25 +0000 (+0000) Subject: Restore correct table-bonk behaviour with clumsy mobs. (#23583) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=ed7a7879708904e2a96f514a929d1085e4733026;p=space-station-14.git Restore correct table-bonk behaviour with clumsy mobs. (#23583) --- diff --git a/Content.Shared/Climbing/Systems/BonkSystem.cs b/Content.Shared/Climbing/Systems/BonkSystem.cs index 5eff90b09d..e91d1eadbe 100644 --- a/Content.Shared/Climbing/Systems/BonkSystem.cs +++ b/Content.Shared/Climbing/Systems/BonkSystem.cs @@ -36,7 +36,7 @@ public sealed partial class BonkSystem : EntitySystem private void OnBonkDoAfter(EntityUid uid, Components.BonkableComponent component, BonkDoAfterEvent args) { - if (args.Handled || args.Cancelled || args.Args.Target == null || args.Args.Target != args.Args.User) + if (args.Handled || args.Cancelled || args.Args.Target == null) return; TryBonk(args.Args.User, uid, component);