Fix being able to uncuff yourself while incapacitated.

This commit is contained in:
Vera Aguilera Puerto
2021-10-01 14:47:19 +02:00
parent c421ec5f63
commit ac6bc743da
2 changed files with 5 additions and 1 deletions

View File

@@ -207,7 +207,7 @@ namespace Content.Server.Cuffs.Components
}
// TODO: Make into an event and instead have a system check for owner.
if (!isOwner && !EntitySystem.Get<ActionBlockerSystem>().CanInteract(user))
if (!EntitySystem.Get<ActionBlockerSystem>().CanInteract(user))
{
user.PopupMessage(Loc.GetString("cuffable-component-cannot-interact-message"));
return;