From 84cdd6de964e0730ed6475e3d4b19d3a57512bc3 Mon Sep 17 00:00:00 2001 From: san7890 Date: Sat, 30 Jul 2022 02:51:09 -0600 Subject: [PATCH] Removes Single-Bedsheets Spawning In For Double Bedsheets (#68777) Hey there, Apparently, one line of this was lying around in the randomizer for the double sheet spawner, which shouldn't be the case. I replaced it with what I believed was the original intent (a normal white double bedsheet), as well as some formatting. --- code/game/objects/structures/bedsheet_bin.dm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/code/game/objects/structures/bedsheet_bin.dm b/code/game/objects/structures/bedsheet_bin.dm index 26c59f1237b..6371e0e199a 100644 --- a/code/game/objects/structures/bedsheet_bin.dm +++ b/code/game/objects/structures/bedsheet_bin.dm @@ -484,7 +484,8 @@ LINEN BINS var/type = pick_weight(list("Colors" = 80, "Special" = 20)) switch(type) if("Colors") - type = pick(list(/obj/item/bedsheet, + type = pick(list( + /obj/item/bedsheet/double, /obj/item/bedsheet/blue/double, /obj/item/bedsheet/green/double, /obj/item/bedsheet/grey/double, @@ -493,13 +494,16 @@ LINEN BINS /obj/item/bedsheet/red/double, /obj/item/bedsheet/yellow/double, /obj/item/bedsheet/brown/double, - /obj/item/bedsheet/black/double)) + /obj/item/bedsheet/black/double, + )) if("Special") - type = pick(list(/obj/item/bedsheet/patriot/double, + type = pick(list( + /obj/item/bedsheet/patriot/double, /obj/item/bedsheet/rainbow/double, /obj/item/bedsheet/ian/double, /obj/item/bedsheet/cosmos/double, - /obj/item/bedsheet/nanotrasen/double)) + /obj/item/bedsheet/nanotrasen/double, + )) var/obj/item/bedsheet = new type(loc) bedsheet.dir = dir return INITIALIZE_HINT_QDEL