From eadcfa3be9c5ecc12b516689f4775a2993abe0b6 Mon Sep 17 00:00:00 2001 From: ZomgPonies Date: Wed, 25 Dec 2013 07:09:50 -0500 Subject: [PATCH] Cannot rotate while unconscious or dead --- code/_onclick/click.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/_onclick/click.dm b/code/_onclick/click.dm index 5ece365899c..5687c386fdb 100644 --- a/code/_onclick/click.dm +++ b/code/_onclick/click.dm @@ -55,7 +55,7 @@ if(modifiers["ctrl"]) CtrlClickOn(A) return - + if(stat || paralysis || stunned || weakened) return @@ -289,7 +289,7 @@ // Simple helper to face what you clicked on, in case it should be needed in more than one place /mob/proc/face_atom(var/atom/A) - if( buckled || !A || !x || !y || !A.x || !A.y ) return + if( stat || buckled || !A || !x || !y || !A.x || !A.y ) return var/dx = A.x - x var/dy = A.y - y if(!dx && !dy) return