From d2f7b961d939ed52577ef84164fa9333ced819c7 Mon Sep 17 00:00:00 2001 From: Useroth Date: Fri, 17 May 2019 17:16:43 +0200 Subject: [PATCH] Touch-up --- code/modules/surgery/nutcracker.dm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/modules/surgery/nutcracker.dm b/code/modules/surgery/nutcracker.dm index 0557f85360..0526e51eca 100644 --- a/code/modules/surgery/nutcracker.dm +++ b/code/modules/surgery/nutcracker.dm @@ -50,9 +50,10 @@ M.visible_message("[user] is trying to crush [M]\s head with \the [src]!") if(do_mob(user, M, crush_time)) - if(get_location_accessible(M, target_zone) && target_limb) //Yes, two checks, before and after the timer. What if someone puts a helmet on the guy while you're crushing his head? - M.visible_message("[M]\s head cracks like a watermelon, spilling everything inside, as it becomes an unrecognizable mess!") - gib_head(M) + if(get_location_accessible(M, target_zone)) //Yes, two checks, before and after the timer. What if someone puts a helmet on the guy while you're crushing his head? + if(target_limb)//If he still has the head. In case you queue up a lot of these up at once or the guy loses the head while you're removing it + M.visible_message("[M]\s head cracks like a watermelon, spilling everything inside, as it becomes an unrecognizable mess!") + gib_head(M) else to_chat(user, "Expose [M]\s head before trying to crush it!")