diff --git a/code/modules/arcade/mob_hunt/mob_avatar.dm b/code/modules/arcade/mob_hunt/mob_avatar.dm index 9ce8de159af..815e8a762fa 100644 --- a/code/modules/arcade/mob_hunt/mob_avatar.dm +++ b/code/modules/arcade/mob_hunt/mob_avatar.dm @@ -1,4 +1,3 @@ - /obj/effect/nanomob name = "Nano-Mob Avatar" //will be overridden by the mob datum name value when created desc = "A wild Nano-Mob appeared! Hit it with your PDA with the game open to attempt to capture it!" @@ -23,9 +22,8 @@ addtimer(CALLBACK(src, .proc/despawn), mob_info.lifetime) /obj/effect/nanomob/Destroy() - if(SSmob_hunt) - SSmob_hunt.trap_spawns -= src - SSmob_hunt.normal_spawns -= src + SSmob_hunt.trap_spawns -= src + SSmob_hunt.normal_spawns -= src return ..() /obj/effect/nanomob/proc/update_self() diff --git a/code/modules/research/rdmachines.dm b/code/modules/research/rdmachines.dm index 8966645ed01..90c52eaea2f 100644 --- a/code/modules/research/rdmachines.dm +++ b/code/modules/research/rdmachines.dm @@ -40,7 +40,8 @@ w -= disable_wire /obj/machinery/r_n_d/Destroy() - QDEL_NULL(loaded_item) + loaded_item.forceMove(get_turf(src)) + loaded_item = null linked_console = null materials = null return ..()