Reduce MaxBuckleDistance (#5938)
This commit is contained in:
@@ -29,8 +29,6 @@ namespace Content.Shared.Buckle.Components
|
||||
|
||||
public EntityUid? LastEntityBuckledTo { get; set; }
|
||||
|
||||
public bool IsOnStrapEntityThisFrame { get; set; }
|
||||
|
||||
public bool DontCollide { get; set; }
|
||||
|
||||
public abstract bool TryBuckle(EntityUid user, EntityUid to);
|
||||
|
||||
@@ -59,7 +59,6 @@ namespace Content.Shared.Buckle
|
||||
{
|
||||
if (args.BodyB.Owner != component.LastEntityBuckledTo) return;
|
||||
|
||||
component.IsOnStrapEntityThisFrame = true;
|
||||
if (component.Buckled || component.DontCollide)
|
||||
{
|
||||
args.Cancel();
|
||||
|
||||
Reference in New Issue
Block a user