From 937731d77d0ad8a89b3d69b7b433c9e7cecf9543 Mon Sep 17 00:00:00 2001 From: TrilbySpaceClone Date: Tue, 2 Jun 2020 21:32:36 -0400 Subject: [PATCH] fix and tested --- .../simple_animal/hostile/mining_mobs/elites/elite.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/elite.dm b/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/elite.dm index c41a31c76e..52eda34461 100644 --- a/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/elite.dm +++ b/code/modules/mob/living/simple_animal/hostile/mining_mobs/elites/elite.dm @@ -277,7 +277,7 @@ While using this makes the system rely on OnFire, it still gives options for tim playsound(loc,'sound/effects/tendril_destroyed.ogg', 200, 0, 50, TRUE, TRUE) visible_message("[src] begins to convulse violently before beginning to dissipate.") visible_message("As [src] closes, something is forced up from down below.") - var/obj/structure/closet/crate/necropolis/tendril/lootbox = new /obj/structure/closet/crate/necropolis/tendril(loc) + var/obj/structure/closet/crate/necropolis/tendril/lootbox = new mychild.crate_type(loc) if(!boosted) mychild = null activator = null @@ -285,9 +285,9 @@ While using this makes the system rely on OnFire, it still gives options for tim return var/lootpick = rand(1, 2) if(lootpick == 1 && mychild.loot_drop != null) - new mychild.crate_type(loc) + new mychild.loot_drop(lootbox) else - new mychild.crate_type(lootbox) + new /obj/item/tumor_shard(lootbox) mychild = null activator = null qdel(src)