From 816e478302ad2844882886b03d4e715c94eb0b49 Mon Sep 17 00:00:00 2001 From: S34NW <12197162+S34NW@users.noreply.github.com> Date: Sun, 31 Oct 2021 21:09:33 +0000 Subject: [PATCH] order of operations moment --- code/game/objects/effects/spawners/lootdrop.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/game/objects/effects/spawners/lootdrop.dm b/code/game/objects/effects/spawners/lootdrop.dm index a5c01d63ae4..7f04db96ea2 100644 --- a/code/game/objects/effects/spawners/lootdrop.dm +++ b/code/game/objects/effects/spawners/lootdrop.dm @@ -158,7 +158,7 @@ /obj/item/storage/secure/briefcase/syndie = 2, /obj/item/storage/fancy/cigarettes/cigpack_syndicate = 2, /obj/item/storage/pill_bottle/fakedeath = 2, - "" = 64 // Reduce this number if you add things above. Make sure all the numbers in the list add to 100 EXACTLY + "" = 64 // Reduce this number if you add things above. Make sure all the numbers in the list add to 100 EXACTLY ) /obj/effect/spawner/lootdrop/crate_spawner // for ruins @@ -223,7 +223,6 @@ ) /obj/effect/spawner/lootdrop/trade_sol/minerals/New() - . = ..() if(loot && loot.len) for(var/i = lootcount, i > 0, i--) if(!loot.len) @@ -234,6 +233,7 @@ if(lootspawn) var/obj/item/stack/sheet/S = new lootspawn(get_turf(src)) S.amount = 25 + . = ..() qdel(src) @@ -349,13 +349,13 @@ ) /obj/effect/spawner/lootdrop/trade_sol/vehicle/New() - . = ..() if(!loot.len) return var/lootspawn = pickweight(loot) var/obj/vehicle/V = new lootspawn(get_turf(src)) if(V.key_type) new V.key_type(get_turf(src)) + . = ..() qdel(src)