Maybe keep mobs from not getting removed from the mob lists properly.

This commit is contained in:
D3athrow
2015-02-05 22:00:21 -06:00
parent 5134cca13c
commit 88d0244723
4 changed files with 15 additions and 6 deletions

View File

@@ -182,8 +182,8 @@
else if(istype(thisturf, /turf/unsimulated/wall))
continue
turfs += thisturf
var/turf/target_turf = pick(turfs)
var/turf/target_turf = safepick(turfs)
if(!target_turf) return
//MUH 6 QUADRILLION WINDOWS
//rampage along a path to get to it, in the blink of an eye
var/turf/next_turf = get_step_towards(src, target_turf)