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:
@@ -191,8 +191,6 @@ namespace Content.Server.GameObjects.Components.Buckle
|
||||
|
||||
if (!Owner.InRangeUnobstructed(strap, _range, predicate: Ignored, popup: true))
|
||||
{
|
||||
strap.Owner.PopupMessage(user, Loc.GetString("You can't reach there!"));
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -203,8 +201,6 @@ namespace Content.Server.GameObjects.Components.Buckle
|
||||
if (!ContainerHelpers.TryGetContainer(strap.Owner, out var strapContainer) ||
|
||||
ownerContainer != strapContainer)
|
||||
{
|
||||
strap.Owner.PopupMessage(user, Loc.GetString("You can't reach there!"));
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user