From c8801b2ff5845cfef8368231baee11e8686b5365 Mon Sep 17 00:00:00 2001 From: TullyBurnalot Date: Fri, 15 Jul 2016 00:46:28 +0100 Subject: [PATCH] Adds sanity check for non-carbon mobs --- code/game/objects/items/weapons/handcuffs.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/game/objects/items/weapons/handcuffs.dm b/code/game/objects/items/weapons/handcuffs.dm index b1d10f82c8b..c3063ada27e 100644 --- a/code/game/objects/items/weapons/handcuffs.dm +++ b/code/game/objects/items/weapons/handcuffs.dm @@ -20,6 +20,9 @@ if(!user.IsAdvancedToolUser()) return + if(!istype(C)) + return + if(CLUMSY in user.mutations && prob(50)) to_chat(user, "Uh... how do those things work?!") apply_cuffs(user,user)