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>
19 lines
485 B
C#
19 lines
485 B
C#
using Content.Server.GameObjects.Components.Movement;
|
|
using JetBrains.Annotations;
|
|
using Robust.Shared.GameObjects.Systems;
|
|
|
|
namespace Content.Server.GameObjects.EntitySystems
|
|
{
|
|
[UsedImplicitly]
|
|
internal sealed class ClimbSystem : EntitySystem
|
|
{
|
|
public override void Update(float frameTime)
|
|
{
|
|
foreach (var comp in ComponentManager.EntityQuery<ClimbingComponent>())
|
|
{
|
|
comp.Update();
|
|
}
|
|
}
|
|
}
|
|
}
|