Skip to content

Commit

Permalink
runtime fix
Browse files Browse the repository at this point in the history
  • Loading branch information
EvilDragonfiend committed Apr 9, 2024
1 parent d6a6441 commit 00e4edf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
4 changes: 2 additions & 2 deletions code/game/objects/effects/spawners/mailspawner.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 0 additions & 9 deletions code/modules/mining/lavaland/necropolis_chests.dm
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,6 @@
to_chat(user, "<span class='notice'>You disable the magic lock with the [item].</span>")
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."

Expand Down

0 comments on commit 00e4edf

Please sign in to comment.