From 6b11f4e18f7d1236e22bdf84dc32e2f0b91db493 Mon Sep 17 00:00:00 2001 From: Kyep Date: Sat, 7 Sep 2019 00:25:52 -0700 Subject: [PATCH] fixes animation when AI controller spider breaks a light --- .../living/simple_animal/hostile/terror_spiders/terror_ai.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/simple_animal/hostile/terror_spiders/terror_ai.dm b/code/modules/mob/living/simple_animal/hostile/terror_spiders/terror_ai.dm index 8ae7be03b0f..c0c53014f8f 100644 --- a/code/modules/mob/living/simple_animal/hostile/terror_spiders/terror_ai.dm +++ b/code/modules/mob/living/simple_animal/hostile/terror_spiders/terror_ai.dm @@ -137,9 +137,9 @@ step_to(src,L) L.on = 1 L.broken() - L.do_attack_animation(src) + do_attack_animation(L) visible_message("[src] smashes the [L.name].") - break + return else if(ai_spins_webs && web_type && world.time > (last_spins_webs + freq_spins_webs)) last_spins_webs = world.time var/obj/structure/spider/terrorweb/T = locate() in get_turf(src)