Skip to content

Commit

Permalink
resolved integration test fail
Browse files Browse the repository at this point in the history
  • Loading branch information
benev0 committed Sep 22, 2024
1 parent 0686129 commit 04cf284
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Content.Shared/Climbing/Systems/ClimbSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,10 @@ private void OnDoAfter(EntityUid uid, ClimbingComponent component, ClimbDoAfterE
if (args.Handled || args.Cancelled || args.Args.Target == null || args.Args.Used == null)
return;

if (_containers.IsEntityInContainer(uid))
if (_containers.IsEntityInContainer(uid)) {
args.Handled = true;
return;
}

Climb(uid, args.Args.User, args.Args.Target.Value, climbing: component);
args.Handled = true;
Expand Down

0 comments on commit 04cf284

Please sign in to comment.