Reduced Hell Universe Lag

Based on https://github.com/d3athrow/vgstation13/pull/5273.
This commit is contained in:
PsiOmegaDelta
2015-07-07 12:55:39 +02:00
parent 64fba0e4d5
commit 0a4131e9dc
4 changed files with 26 additions and 30 deletions
@@ -212,6 +212,7 @@
/mob/living/simple_animal/hostile/proc/check_horde()
return 0
if(emergency_shuttle.shuttle.location)
if(!enroute && !target_mob) //The shuttle docked, all monsters rush for the escape hallway
if(!shuttletarget && escape_list.len) //Make sure we didn't already assign it a target, and that there are targets to pick