From 58b10962dcd2c912bf42aa0e67b7bcef9e70cacf Mon Sep 17 00:00:00 2001 From: paprka Date: Mon, 29 Dec 2014 05:24:48 -0800 Subject: [PATCH] clicking on the lattice will now construct a catwalk as well --- code/game/objects/structures/lattice.dm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/game/objects/structures/lattice.dm b/code/game/objects/structures/lattice.dm index 3fd2163a5f5..52e4b1a48a5 100644 --- a/code/game/objects/structures/lattice.dm +++ b/code/game/objects/structures/lattice.dm @@ -51,11 +51,11 @@ return /obj/structure/lattice/attackby(obj/item/C as obj, mob/user as mob) - + var/turf/T = get_turf(src) if (istype(C, /obj/item/stack/tile/plasteel)) - var/turf/T = get_turf(src) - T.attackby(C, user) //BubbleWrap - hand this off to the underlying turf instead - return + T.attackby(C, user) //BubbleWrap - hand this off to the underlying turf instead (for building plating) + if(istype(C, /obj/item/stack/rods)) + T.attackby(C, user) //see above, for building catwalks if (istype(C, /obj/item/weapon/weldingtool)) var/obj/item/weapon/weldingtool/WT = C if(WT.remove_fuel(0, user))