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.
This commit is contained in:
san7890
2022-07-30 04:51:09 -04:00
committed by GitHub
parent 3e2e158624
commit 84cdd6de96
+8 -4
View File
@@ -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