From d71b50a4f14cde74bf65a238b232b9a353b63555 Mon Sep 17 00:00:00 2001 From: Ghommie Date: Sat, 22 Jun 2019 17:23:32 +0200 Subject: [PATCH] Forgot we are dealing with a prototype object. --- code/game/objects/items/storage/boxes.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/game/objects/items/storage/boxes.dm b/code/game/objects/items/storage/boxes.dm index 04d39c000b..988e6792ff 100644 --- a/code/game/objects/items/storage/boxes.dm +++ b/code/game/objects/items/storage/boxes.dm @@ -1219,7 +1219,8 @@ /obj/effect/spawner/lootdrop/mre/Initialize() for(var/A in subtypesof(/obj/item/storage/box/mre)) var/obj/item/storage/box/mre/M = A - if(M.spawner_chance) + var/our_chance = initial(M.spawner_chance) + if(our_chance) loot += M - loot[M] = M.spawner_chance + loot[M] = our_chance return ..() \ No newline at end of file