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:
metalgearsloth
2020-10-12 02:12:46 +11:00
committed by GitHub
parent 53cc5abdcd
commit ecfe470298
4 changed files with 30 additions and 35 deletions

View File

@@ -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;
}
}