From 3a4186f6f642e74c2b9e8b81f36185a333bbecc7 Mon Sep 17 00:00:00 2001 From: Azzy <29222142+AzzyIsNotHere@users.noreply.github.com> Date: Tue, 9 Nov 2021 12:13:32 -0700 Subject: [PATCH] Fixes the infinite cuff glitch. (#5241) --- Content.Server/Cuffs/Components/HandcuffComponent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Cuffs/Components/HandcuffComponent.cs b/Content.Server/Cuffs/Components/HandcuffComponent.cs index 252e803090..e1faa8dcdb 100644 --- a/Content.Server/Cuffs/Components/HandcuffComponent.cs +++ b/Content.Server/Cuffs/Components/HandcuffComponent.cs @@ -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;