Cannot rotate while unconscious or dead

This commit is contained in:
ZomgPonies
2013-12-25 07:09:50 -05:00
parent dcaeea24bf
commit eadcfa3be9
+2 -2
View File
@@ -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