Skip to content

Commit

Permalink
Makes the railings drop the same amount of rods as used (#70588) (#428)
Browse files Browse the repository at this point in the history
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

Co-authored-by: JoeNamath <36791242+Darknesshaz@users.noreply.github.com>
  • Loading branch information
Zonespace27 and AlecStar1 authored Jul 11, 2023
1 parent 8c8fd22 commit 1485a97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/objects/structures/railings.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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 ..()

Expand Down

0 comments on commit 1485a97

Please sign in to comment.