Monkey pull fixes

This commit is contained in:
ZomgPonies
2013-12-17 23:42:18 -05:00
parent b7c118b18f
commit 61c150c5d5
@@ -71,7 +71,14 @@
if(!client && stat == CONSCIOUS)
if(prob(33) && canmove && isturf(loc))
step(src, pick(cardinal))
var/isBeingPulled = 0
for(var/mob/M in range(src, 1)) //won't move if being pulled
if(M.pulling == src)
isBeingPulled = 1
if(isBeingPulled == 0)
step(src, pick(cardinal))
if(prob(1))
emote(pick("scratch","jump","roll","tail"))