From 60793f2976cb50ff3ddfdc276cf681cc7ff69fb1 Mon Sep 17 00:00:00 2001 From: SmArtKar <44720187+SmArtKar@users.noreply.github.com> Date: Sat, 19 Apr 2025 10:34:51 +0200 Subject: [PATCH] Fixes AIs being unable to scan ore vents (#90663) ## About The Pull Request Closes #90621 ## Changelog :cl: fix: Fixed AIs being unable to scan ore vents /:cl: --- code/modules/vehicles/mecha/equipment/tools/mining_tools.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/vehicles/mecha/equipment/tools/mining_tools.dm b/code/modules/vehicles/mecha/equipment/tools/mining_tools.dm index b1585f679a2..49e70d3f017 100644 --- a/code/modules/vehicles/mecha/equipment/tools/mining_tools.dm +++ b/code/modules/vehicles/mecha/equipment/tools/mining_tools.dm @@ -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)