From 71298c084d8d315091b8ed92c4559ca569f5094e Mon Sep 17 00:00:00 2001 From: Ghommie Date: Mon, 24 Jun 2019 03:09:43 +0200 Subject: [PATCH] didn't init the list, bravo. --- code/game/objects/effects/spawners/lootdrop.dm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/game/objects/effects/spawners/lootdrop.dm b/code/game/objects/effects/spawners/lootdrop.dm index 8cfe84f644..0e543a3642 100644 --- a/code/game/objects/effects/spawners/lootdrop.dm +++ b/code/game/objects/effects/spawners/lootdrop.dm @@ -224,8 +224,7 @@ var/obj/item/storage/box/mre/M = A var/our_chance = initial(M.spawner_chance) if(our_chance) - loot += M - loot[M] = our_chance + LAZYSET(loot, M, our_chance) return ..()