From ae9b3de7ad7c18e81d2ffd90120939e7126dde0d Mon Sep 17 00:00:00 2001 From: Kyle Spier-Swenson Date: Mon, 19 Oct 2015 20:13:41 -0700 Subject: [PATCH] Fixes spiders locking up the MC with do_after's --- .../mob/living/simple_animal/hostile/giant_spider.dm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/code/modules/mob/living/simple_animal/hostile/giant_spider.dm b/code/modules/mob/living/simple_animal/hostile/giant_spider.dm index 62a34b75106..5be136047f6 100644 --- a/code/modules/mob/living/simple_animal/hostile/giant_spider.dm +++ b/code/modules/mob/living/simple_animal/hostile/giant_spider.dm @@ -114,11 +114,13 @@ //second, spin a sticky spiderweb on this tile var/obj/effect/spider/stickyweb/W = locate() in get_turf(src) if(!W) - Web() + spawn() + Web() else //third, lay an egg cluster there if(fed) - LayEggs() + spawn() + LayEggs() else //fourthly, cocoon any nearby items so those pesky pinkskins can't use them for(var/obj/O in can_see) @@ -136,7 +138,8 @@ else if(busy == MOVING_TO_TARGET && cocoon_target) if(get_dist(src, cocoon_target) <= 1) - Wrap() + spawn() + Wrap() else busy = 0