Skip to content

Commit 8683d85

Browse files
authored
Merge pull request #1171 from ss14Starlight/hotfix/uncuff
cuff hotfix
2 parents c04d12c + ac47ead commit 8683d85

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Content.Shared/Cuffs/SharedCuffableSystem.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,9 @@ public bool TryAddNewCuffs(EntityUid target, EntityUid user, EntityUid handcuff,
471471
if (!_interaction.InRangeUnobstructed(handcuff, target))
472472
return false;
473473

474+
cuff.Used = true;
475+
Dirty(handcuff, cuff);
476+
474477
// if the amount of hands the target has is equal to or less than the amount of hands that are cuffed
475478
// don't apply the new set of cuffs
476479
// (how would you even end up with more cuffed hands than actual hands? either way accounting for it)

0 commit comments

Comments
 (0)