Merge pull request #12523 from MrStonedOne/patch-49

Fixes spiders locking up the MC with do_after's
This commit is contained in:
phil235
2015-10-22 00:48:36 +02:00
@@ -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