This commit is contained in:
SabreML
2021-08-28 21:57:16 +01:00
parent 6ea76cbbb3
commit 85eb273b4f
2 changed files with 4 additions and 5 deletions
+2 -4
View File
@@ -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()
+2 -1
View File
@@ -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 ..()