Change maint crate spawners to be randomized (#62742)

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
This commit is contained in:
Tim
2021-11-12 23:18:24 -08:00
committed by GitHub
co-authored by Mothblocks
parent 6a764fd0ca
commit c8584fa2df
2 changed files with 6 additions and 1 deletions
@@ -112,8 +112,13 @@
/obj/structure/closet/crate/maint
/obj/structure/closet/crate/maint/Initialize(mapload)
..()
return INITIALIZE_HINT_QDEL
/obj/structure/closet/crate/maint/PopulateContents()
. = ..()
new /obj/effect/spawner/random/structure/crate_empty(loc)
for(var/i in 1 to rand(2,6))
new /obj/effect/spawner/random/maintenance(src)