Fixes morphs (#37772)

This commit is contained in:
kevinz000
2018-05-10 22:37:59 -07:00
committed by letterjay
parent 20ac9089a7
commit 9510c12065
+1 -1
View File
@@ -190,7 +190,7 @@
return ..()
/mob/living/simple_animal/hostile/morph/AttackingTarget()
if(!melee_damage_disguised)
if(morphed && !melee_damage_disguised)
to_chat(src, "<span class='warning'>You can not attack while disguised!</span>")
return
if(isliving(target)) //Eat Corpses to regen health