Makes some loops use GLOB.ai_list instead of other various lists (#27916)

* Thngy

* Update code/modules/mob/living/silicon/ai/ai_mob.dm

Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com>

---------

Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com>
Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
This commit is contained in:
DGamerL
2025-01-12 11:09:30 +01:00
committed by GitHub
parent 0228b81ff5
commit a8a17134eb
8 changed files with 10 additions and 10 deletions
@@ -74,7 +74,7 @@
new G(T) //Spawns the switch-selected engine on the chosen beacon's turf
var/ailist[] = list()
for(var/mob/living/silicon/ai/A in GLOB.alive_mob_list)
for(var/mob/living/silicon/ai/A in GLOB.ai_list)
ailist += A
if(length(ailist))
var/mob/living/silicon/ai/announcer = pick(ailist)