Climbing changes (#2236)
Climbing now can't be done if you're already climbing. Rest of the changes are just formatting. I also removed the buckle messages as they were being duplicated for click-drag. Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
@@ -210,6 +210,9 @@ namespace Content.Server.GameObjects.Components.Movement
|
||||
|
||||
private async void TryClimb(IEntity user)
|
||||
{
|
||||
if (!user.TryGetComponent(out ClimbingComponent climbingComponent) || climbingComponent.IsClimbing)
|
||||
return;
|
||||
|
||||
var doAfterEventArgs = new DoAfterEventArgs(user, _climbDelay, default, Owner)
|
||||
{
|
||||
BreakOnTargetMove = true,
|
||||
|
||||
Reference in New Issue
Block a user