Prevented staff of change from working on infested mobs.

This commit is contained in:
Zuhayr
2013-12-18 13:49:35 +10:30
parent f8ebd9d5de
commit 9fe07feb95

View File

@@ -13,6 +13,8 @@
/obj/item/projectile/change/proc/wabbajack (mob/M as mob in living_mob_list)
if(istype(M, /mob/living) && M.stat != DEAD)
if(M.monkeyizing) return
if(M.has_brain_worms()) return //Borer stuff - RR
M.monkeyizing = 1
M.canmove = 0
M.icon = null