[MIRROR] Fixes bedsheets laid incorrectly onto beds (#29372)

* Fixes bedsheets laid incorrectly onto beds (#85837)

<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request

Fixes #85571

## Why It's Good For The Game

Just a push in the direction of a de-jank'd wallening

## Changelog

🆑
fix: bedsheets are laid on beds properly now
/🆑

<!-- Both 🆑's are required for the changelog to work! You can put
your name to the right of the first 🆑 if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->

* Fixes bedsheets laid incorrectly onto beds

---------

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
This commit is contained in:
SkyratBot
2024-08-17 20:22:58 +07:00
committed by GitHub
co-authored by tralezab
parent 27157c44cb
commit c45145cd6a
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ LINEN BINS
/obj/item/bedsheet/Initialize(mapload)
. = ..()
AddComponent(/datum/component/surgery_initiator)
AddElement(/datum/element/bed_tuckable, mapload, 0, 0, 0)
AddElement(/datum/element/bed_tuckable, mapload, 0, 12, 0)
if(bedsheet_type == BEDSHEET_DOUBLE)
stack_amount *= 2
dying_key = DYE_REGISTRY_DOUBLE_BEDSHEET