Skip to content

Commit

Permalink
Hide disposal unit "Jump inside" verb for mobs that won't fit (space-…
Browse files Browse the repository at this point in the history
…wizards#27367)

Hide "Jump inside" verb showing for mobs that won't fit
  • Loading branch information
Tayrtahn committed Apr 27, 2024
1 parent 46d6bf1 commit 55177fc
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ private void AddClimbInsideVerb(EntityUid uid, SharedDisposalUnitComponent compo
return;
}

if (!CanInsert(uid, component, args.User))
return;

// Add verb to climb inside of the unit,
Verb verb = new()
{
Expand Down

0 comments on commit 55177fc

Please sign in to comment.