using Content.Server.Cuffs;
using Content.Shared.Alert;
using JetBrains.Annotations;
namespace Content.Server.Alert.Click
{
///
/// Try to remove handcuffs from yourself
///
[UsedImplicitly]
[DataDefinition]
public sealed partial class RemoveCuffs : IAlertClick
{
public void AlertClicked(EntityUid player)
{
var entityManager = IoCManager.Resolve();
var cuffableSys = entityManager.System();
cuffableSys.TryUncuff(player, player);
}
}
}