Skip to content

Commit

Permalink
should work
Browse files Browse the repository at this point in the history
  • Loading branch information
Snowy1237 committed Nov 11, 2024
1 parent 9549976 commit f4e0c4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/heavy_vehicle/equipment/utility.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit f4e0c4a

Please sign in to comment.