Fix being able to uncuff yourself while incapacitated.
This commit is contained in:
@@ -207,7 +207,7 @@ namespace Content.Server.Cuffs.Components
|
|||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Make into an event and instead have a system check for owner.
|
// 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"));
|
user.PopupMessage(Loc.GetString("cuffable-component-cannot-interact-message"));
|
||||||
return;
|
return;
|
||||||
|
|||||||
4
Resources/Changelog/Parts/uncuff.yml
Normal file
4
Resources/Changelog/Parts/uncuff.yml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
author: Zumorica
|
||||||
|
changes:
|
||||||
|
- type: Fix # One of the following: Add, Remove, Tweak, Fix
|
||||||
|
message: Fix being able to uncuff yourself while dead or incapacitated.
|
||||||
Reference in New Issue
Block a user