From 05a78f117dd30963a00565372b0da70bc987489f Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Sat, 17 Oct 2020 19:53:52 +1100 Subject: [PATCH] Allow chair drag buckling again (#2281) * Allow chair drag buckling again * Revert "Allow chair drag buckling again" This reverts commit 317e116b60c01f9198889cd5cbbd70ca9f32e7d6. * Fix args.Dragged being passed as the target instead of args.Target Co-authored-by: Metal Gear Sloth Co-authored-by: DrSmugleaf --- .../GameObjects/Components/Buckle/SharedBuckleComponent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/GameObjects/Components/Buckle/SharedBuckleComponent.cs b/Content.Shared/GameObjects/Components/Buckle/SharedBuckleComponent.cs index c1556ab2f8..221d1cb845 100644 --- a/Content.Shared/GameObjects/Components/Buckle/SharedBuckleComponent.cs +++ b/Content.Shared/GameObjects/Components/Buckle/SharedBuckleComponent.cs @@ -43,7 +43,7 @@ namespace Content.Shared.GameObjects.Components.Buckle public bool Drop(DragDropEventArgs args) { - return TryBuckle(args.User, args.Dragged); + return TryBuckle(args.User, args.Target); } }