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
This commit is contained in:
JoeNamath
2022-10-18 00:52:16 -04:00
committed by GitHub
parent 7fca728426
commit c1611e08a1
+1 -1
View File
@@ -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 ..()