From ec1d6f981b7ebe322bf47c58afeae69e402ac200 Mon Sep 17 00:00:00 2001 From: ZomgPonies Date: Sun, 24 Nov 2013 02:56:30 -0500 Subject: [PATCH] Fix Ripleys on Asteroid --- code/game/mecha/equipment/tools/tools.dm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/game/mecha/equipment/tools/tools.dm b/code/game/mecha/equipment/tools/tools.dm index 5a3e08897f9..524ff2fdd1e 100644 --- a/code/game/mecha/equipment/tools/tools.dm +++ b/code/game/mecha/equipment/tools/tools.dm @@ -91,8 +91,8 @@ if(T == chassis.loc && src == chassis.selected) if(istype(target, /turf/simulated/wall/r_wall)) occupant_message("[target] is too durable to drill through.") - else if(istype(target, /turf/simulated/mineral)) - for(var/turf/simulated/mineral/M in range(chassis,1)) + else if(istype(target, /turf/unsimulated/mineral)) + for(var/turf/unsimulated/mineral/M in range(chassis,1)) if(get_dir(chassis,M)&chassis.dir) M.gets_drilled() log_message("Drilled through [target]") @@ -150,8 +150,8 @@ if(do_after_cooldown(target))//To slow down how fast mechs can drill through the station log_message("Drilled through [target]") target.ex_act(3) - else if(istype(target, /turf/simulated/mineral)) - for(var/turf/simulated/mineral/M in range(chassis,1)) + else if(istype(target, /turf/unsimulated/mineral)) + for(var/turf/unsimulated/mineral/M in range(chassis,1)) if(get_dir(chassis,M)&chassis.dir) M.gets_drilled() log_message("Drilled through [target]")