ai stays seated and pulled while cuffed. (#30397)

* ai stays seated while cuffed.

* Do the thing I thought was dumb.... whatever.

* less than
This commit is contained in:
IProduceWidgets
2024-08-08 05:53:07 -04:00
committed by GitHub
parent 1df84515c7
commit f24949a0b0
3 changed files with 9 additions and 5 deletions

View File

@@ -202,7 +202,7 @@ namespace Content.Shared.Cuffs
if (cancelled || user != ent.Owner)
return;
if (!TryComp<HandsComponent>(ent, out var hands) || ent.Comp.CuffedHandCount != hands.Count)
if (!TryComp<HandsComponent>(ent, out var hands) || ent.Comp.CuffedHandCount < hands.Count)
return;
cancelled = true;