Undead event bugfix

This commit is contained in:
ZomgPonies
2013-11-06 08:03:50 -05:00
parent 460d71f0bc
commit 615c6c732a
@@ -51,5 +51,5 @@
/mob/living/simple_animal/hostile/retaliate/DestroySurroundings()
for(var/dir in cardinal) // North, South, East, West
var/obj/structure/obstacle = locate(/obj/structure, get_step(src, dir))
if(istype(istype(obstacle, /obj/structure/closet) || istype(obstacle, /obj/structure/table))
if(istype(obstacle, /obj/structure/closet) || istype(obstacle, /obj/structure/table))
obstacle.attack_animal(src)