Fixes the infinite cuff glitch. (#5241)

This commit is contained in:
Azzy
2021-11-09 12:13:32 -07:00
committed by GitHub
parent d6b6a53910
commit 3a4186f6f6

View File

@@ -170,7 +170,7 @@ namespace Content.Server.Cuffs.Components
return true;
}
if (cuffed.CuffedHandCount == hands.Count)
if (cuffed.CuffedHandCount >= hands.Count)
{
eventArgs.User.PopupMessage(Loc.GetString("handcuff-component-target-has-no-free-hands-error",("targetName", eventArgs.Target)));
return true;