Add a bool to disable buckling on InteractHand (#30001)
This commit is contained in:
@@ -84,7 +84,7 @@ public abstract partial class SharedBuckleSystem
|
||||
if (!TryComp(args.User, out BuckleComponent? buckle))
|
||||
return;
|
||||
|
||||
if (buckle.BuckledTo == null)
|
||||
if (buckle.BuckledTo == null && component.BuckleOnInteractHand)
|
||||
TryBuckle(args.User, args.User, uid, buckle, popup: true);
|
||||
else if (buckle.BuckledTo == uid)
|
||||
TryUnbuckle(args.User, args.User, buckle, popup: true);
|
||||
|
||||
Reference in New Issue
Block a user