Skip to content

Commit

Permalink
[MIRROR] Medical beds show correct overlay [NO GBP] [MDB IGNORE] (#24…
Browse files Browse the repository at this point in the history
…437) (#159)

* Medical beds show correct overlay [NO GBP] (#79057)

## About The Pull Request

Update the overlay if the brakes are on at mapload

## Changelog

:cl: LT3
fix: Maploaded medical beds now have correct brake lights
/:cl:

* Medical beds show correct overlay [NO GBP]

---------

Co-authored-by: SkyratBot <[email protected]>
Co-authored-by: lessthanthree <[email protected]>
  • Loading branch information
3 people authored Oct 20, 2023
1 parent 7592d66 commit be4d40f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/game/objects/structures/beds_chairs/bed.dm
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@
/obj/structure/bed/medical/Initialize(mapload)
. = ..()
AddElement(/datum/element/noisy_movement)
if(anchored)
update_appearance()

/obj/structure/bed/medical/add_context(atom/source, list/context, obj/item/held_item, mob/living/user)
. = ..()
Expand Down

0 comments on commit be4d40f

Please sign in to comment.