Skip to content

Commit

Permalink
[MIRROR] Automated IV drips now respect the layer set in the plumbing…
Browse files Browse the repository at this point in the history
… constructor (#790)

* Automated IV drips now respect the layer set in the plumbing constructor (#81294)

## About The Pull Request
Automated IV drips will now be on the layer set by the plumbing
constructor when created, whereas before they would be built on layer 3
regardless of the set layer
## Why It's Good For The Game
Bug bad
## Changelog
:cl:
fix: Automated IV drips will now be on the layer set by the plumbing
constructor when created.
/:cl:

---------

Co-authored-by: Time-Green <[email protected]>

* Automated IV drips now respect the layer set in the plumbing constructor

---------

Co-authored-by: Nick <[email protected]>
Co-authored-by: Time-Green <[email protected]>
  • Loading branch information
3 people authored and FFMirrorBot committed Feb 6, 2024
1 parent 6856b05 commit 7d33f02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/plumbing/plumbers/iv_drip.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
density = TRUE
use_internal_storage = TRUE

/obj/machinery/iv_drip/plumbing/Initialize(mapload)
/obj/machinery/iv_drip/plumbing/Initialize(mapload, bolt, layer)
. = ..()
AddComponent(/datum/component/plumbing/iv_drip, anchored)
AddComponent(/datum/component/plumbing/iv_drip, bolt, layer)
AddComponent(/datum/component/simple_rotation)

/obj/machinery/iv_drip/plumbing/add_context(atom/source, list/context, obj/item/held_item, mob/living/user)
Expand Down

0 comments on commit 7d33f02

Please sign in to comment.