fix and tested

This commit is contained in:
TrilbySpaceClone
2020-06-02 21:32:36 -04:00
parent b62ef0f4e8
commit 937731d77d
@@ -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("<span class='boldwarning'>[src] begins to convulse violently before beginning to dissipate.</span>")
visible_message("<span class='boldwarning'>As [src] closes, something is forced up from down below.</span>")
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)