More and more Destroy() cleanups all across the board - Return qdel hints.

This commit is contained in:
Leshana
2017-06-05 23:01:41 -04:00
parent 010cca1d44
commit e48b548f2b
51 changed files with 128 additions and 113 deletions
+1 -1
View File
@@ -59,7 +59,7 @@
/mob/living/silicon/ai/Destroy()
destroy_eyeobj()
..()
return ..()
/atom/proc/move_camera_by_click()
if(istype(usr, /mob/living/silicon/ai))
@@ -59,7 +59,7 @@
/obj/machinery/camera/Destroy()
clear_all_networks()
cameranet.cameras -= src
..()
return ..()
// Mobs
/mob/living/silicon/ai/rejuvenate()
+5 -1
View File
@@ -38,7 +38,11 @@ mob/observer/eye/Destroy()
qdel(ghostimage)
ghostimage = null
updateallghostimages()
..()
if(owner)
if(owner.eyeobj == src)
owner.eyeobj = null
owner = null
. = ..()
/mob/observer/eye/Move(n, direct)
if(owner == src)
@@ -25,7 +25,7 @@
/mob/living/Destroy()
cultnet.updateVisibility(src, 0)
..()
return ..()
/mob/living/rejuvenate()
var/was_dead = stat == DEAD
+2 -2
View File
@@ -15,7 +15,7 @@
/turf/simulated/Destroy()
updateVisibility(src)
..()
return ..()
/turf/simulated/New()
..()
@@ -26,7 +26,7 @@
/obj/structure/Destroy()
updateVisibility(src)
..()
return ..()
/obj/structure/New()
..()
+1 -1
View File
@@ -14,7 +14,7 @@
/datum/visualnet/Destroy()
visual_nets -= src
..()
return ..()
// Checks if a chunk has been Generated in x, y, z.
/datum/visualnet/proc/chunkGenerated(x, y, z)