Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
MilenVolf committed Nov 27, 2024
1 parent 9f85c30 commit dffd4ec
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Content.Shared/Buckle/SharedBuckleSystem.Interaction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,10 @@ private void OnBuckleInteractHand(Entity<BuckleComponent> ent, ref InteractHandE
if (args.Handled)
return;

var canUnbuckle = false;

if (ent.Comp.BuckledTo != null)
args.Handled = TryUnbuckle(ent!, args.User, popup: true);

// TODO BUCKLE add out bool for whether a pop-up was generated or not.
if (canUnbuckle)
args.Handled = true;
}

private void AddStrapVerbs(EntityUid uid, StrapComponent component, GetVerbsEvent<InteractionVerb> args)
Expand Down

0 comments on commit dffd4ec

Please sign in to comment.