mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
More efficiency things
This commit is contained in:
@@ -221,11 +221,12 @@
|
||||
/mob/living/simple_animal/hostile/proc/summon_backup(distance)
|
||||
do_alert_animation(src)
|
||||
playsound(loc, 'sound/machines/chime.ogg', 50, 1, -1)
|
||||
for (var/mob/living/simple_animal/hostile/M in oview(distance, src))
|
||||
for (var/element in src.faction)
|
||||
if (element in M.faction)
|
||||
M.Goto(src,M.move_to_delay,M.minimum_distance)
|
||||
continue
|
||||
mob_loop:
|
||||
for (var/mob/living/simple_animal/hostile/M in oview(distance, src))
|
||||
for (var/element in src.faction)
|
||||
if (element in M.faction)
|
||||
M.Goto(src,M.move_to_delay,M.minimum_distance)
|
||||
continue mob_loop
|
||||
|
||||
/mob/living/simple_animal/hostile/proc/OpenFire(atom/A)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user