Merge pull request #6715 from Citadel-Station-13/upstream-merge-37772

[MIRROR] Fixes morphs
This commit is contained in:
LetterJay
2018-05-12 21:37:34 -05:00
committed by GitHub
+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