diff --git a/code/game/objects/effects/spawners/mailspawner.dm b/code/game/objects/effects/spawners/mailspawner.dm index f7603597a4d7b..d44ffe0ababc4 100644 --- a/code/game/objects/effects/spawners/mailspawner.dm +++ b/code/game/objects/effects/spawners/mailspawner.dm @@ -10,8 +10,8 @@ name = "\improper Random maintenance loot spawner" /obj/effect/spawner/mail/maintloot/Initialize() - var/static/list/mail_maintloot = pick(GLOB.maintenance_loot) - new mail_maintloot(loc) + var/picked_item = pick_weight(GLOB.maintenance_loot) + new picked_item(loc) return ..() /obj/effect/spawner/mail/organminor diff --git a/code/modules/mining/lavaland/necropolis_chests.dm b/code/modules/mining/lavaland/necropolis_chests.dm index 752351cda5ca9..b4a7ea2e07f94 100644 --- a/code/modules/mining/lavaland/necropolis_chests.dm +++ b/code/modules/mining/lavaland/necropolis_chests.dm @@ -28,15 +28,6 @@ to_chat(user, "You disable the magic lock with the [item].") return TRUE - -/obj/effect/spawner/mail/maintloot - name = "\improper Random maintenance loot spawner" - -/obj/effect/spawner/mail/maintloot/Initialize() - var/static/list/mail_maintloot = pick(GLOB.maintenance_loot) - new mail_maintloot(loc) - return ..() - /obj/structure/closet/crate/necropolis/tendril desc = "It's watching you suspiciously."