Skip to content

Commit

Permalink
Stop climbing across overlapping trenches causing players to get stuck
Browse files Browse the repository at this point in the history
  • Loading branch information
Just-a-Unity-Dev committed Sep 21, 2024
1 parent 2d3c6f6 commit 55175bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Content.Server/_RY/Trenches/TrenchesSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ private void OnEndCollide(Entity<TrenchedComponent> ent, ref EndCollideEvent arg

if (HasComp<ClimbableComponent>(args.OtherEntity) && !ent.Comp.IsTrenched)
{
if (EntityManager.TryGetComponent<ClimbingComponent>(ent.Owner, out var climbing))
ClimbSystem.StopClimb(ent.Owner, climbing, fixtures);
// if (EntityManager.TryGetComponent<ClimbingComponent>(ent.Owner, out var climbing))
// ClimbSystem.StopClimb(ent.Owner, climbing, fixtures);
return;
}

Expand Down

0 comments on commit 55175bb

Please sign in to comment.