]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Restore correct table-bonk behaviour with clumsy mobs. (#23583)
authorJ. Brown <DrMelon@users.noreply.github.com>
Sat, 6 Jan 2024 07:07:25 +0000 (07:07 +0000)
committerGitHub <noreply@github.com>
Sat, 6 Jan 2024 07:07:25 +0000 (23:07 -0800)
Content.Shared/Climbing/Systems/BonkSystem.cs

index 5eff90b09ddf007db6a7d0160d12307e7162635e..e91d1eadbec14494a640b67e5932ff3e81c6af3d 100644 (file)
@@ -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);