using Content.Shared.Alert;
using Content.Shared.Pulling.Components;
using JetBrains.Annotations;
using Robust.Shared.Serialization.Manager.Attributes;
namespace Content.Server.Alert.Click
{
///
/// Stop pulling something
///
[UsedImplicitly]
[DataDefinition]
public class StopBeingPulled : IAlertClick
{
public void AlertClicked(ClickAlertEventArgs args)
{
args.Player.GetComponentOrNull()?.TryStopPull();
}
}
}