From e716e66d10986dad5e32c03478d8f482ab113c45 Mon Sep 17 00:00:00 2001 From: Peter Wall Date: Thu, 25 Jul 2013 15:40:03 +0200 Subject: [PATCH] Made mechas able to bump-mine --- code/modules/mining/mine_turfs.dm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/code/modules/mining/mine_turfs.dm b/code/modules/mining/mine_turfs.dm index 3197a14a83..0eb859083a 100644 --- a/code/modules/mining/mine_turfs.dm +++ b/code/modules/mining/mine_turfs.dm @@ -598,12 +598,10 @@ commented out in r5061, I left it because of the shroom thingies if(istype(R.module_active,/obj/item/weapon/pickaxe)) src.attackby(R.module_active,R) return -/* else if(istype(AM,/obj/mecha)) + else if(istype(AM,/obj/mecha)) var/obj/mecha/M = AM if(istype(M.selected,/obj/item/mecha_parts/mecha_equipment/tool/drill)) - src.attackby(M.selected,M) - return*/ -//Aparantly mechs are just TOO COOL to call Bump(), so fuck em (for now) + M.selected.action(src) else return