Fixes AIs being unable to scan ore vents (#90663)

## About The Pull Request

Closes #90621

## Changelog
🆑
fix: Fixed AIs being unable to scan ore vents
/🆑
This commit is contained in:
SmArtKar
2025-04-19 10:34:51 +02:00
committed by GitHub
parent bcf479e7f3
commit 60793f2976
@@ -261,7 +261,7 @@
if(!COOLDOWN_FINISHED(src, area_scan_cooldown))
return FALSE
COOLDOWN_START(src, area_scan_cooldown, 15 SECONDS)
for(var/mob/living/carbon/human/driver in chassis.return_drivers())
for(var/mob/living/driver in chassis.return_drivers())
for(var/obj/structure/ore_vent/vent as anything in range(5, chassis))
if(istype(vent, /obj/structure/ore_vent))
vent.scan_and_confirm(driver, TRUE)