From f4e0c4a3d727a9363f00c70aa1d7738dd3b0b7e6 Mon Sep 17 00:00:00 2001 From: jonathan123700 Date: Mon, 11 Nov 2024 23:17:30 +0200 Subject: [PATCH] should work --- code/modules/heavy_vehicle/equipment/utility.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/heavy_vehicle/equipment/utility.dm b/code/modules/heavy_vehicle/equipment/utility.dm index 7fb3a638012..aa1fc9119ed 100644 --- a/code/modules/heavy_vehicle/equipment/utility.dm +++ b/code/modules/heavy_vehicle/equipment/utility.dm @@ -621,7 +621,7 @@ /obj/item/mecha_equipment/autolathe/afterattack(atom/target, mob/living/user, inrange, params) . = ..() - if(istype(target, /obj/item/stack/material/steel) || istype(target, /obj/item/stack/material/glass) || istype(target, /obj/item/stack/material/aluminium) || istype(target, /obj/item/stack/material/lead) || istype(target, /obj/item/stack/material/plastic)) + if(is_type_in_list(target, list(/obj/item/stack/material/steel, /obj/item/stack/material/glass, /obj/item/stack/material/aluminium, /obj/item/stack/material/lead, /obj/item/stack/material/plastic))) owner.visible_message(SPAN_NOTICE("\The [owner] loads \the [target] into \the [src].")) lathe.attackby(target, owner)