From c1611e08a179f2bc447dbfd3d4d6890502e9e42e Mon Sep 17 00:00:00 2001 From: JoeNamath <36791242+Darknesshaz@users.noreply.github.com> Date: Tue, 18 Oct 2022 00:52:16 -0400 Subject: [PATCH] Makes the railings drop the same amount of rods as used (#70588) About The Pull Request Fixes a bug where constructing a railing would take 6 rods, but deconstructing would only give 3. Why It's Good For The Game Fixes #70570 --- code/game/objects/structures/railings.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/structures/railings.dm b/code/game/objects/structures/railings.dm index 11cacfe9675..c8e4cc31d8e 100644 --- a/code/game/objects/structures/railings.dm +++ b/code/game/objects/structures/railings.dm @@ -64,7 +64,7 @@ /obj/structure/railing/deconstruct(disassembled) if(!(flags_1 & NODECONSTRUCT_1)) - var/obj/item/stack/rods/rod = new /obj/item/stack/rods(drop_location(), 3) + var/obj/item/stack/rods/rod = new /obj/item/stack/rods(drop_location(), 6) transfer_fingerprints_to(rod) return ..()