Ensures Admin Deletes uses qdel.

Ensures that Destroy() is properly called, for types implementing it.
This commit is contained in:
PsiOmega
2015-04-16 12:56:24 +02:00
parent fdd041830a
commit d3b000f2cc
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -598,7 +598,7 @@ client
for(var/obj/Obj in world)
if(Obj.type == O_type)
i++
del(Obj)
qdel(Obj)
if(!i)
usr << "No objects of this type exist"
return
@@ -609,7 +609,7 @@ client
for(var/obj/Obj in world)
if(istype(Obj,O_type))
i++
del(Obj)
qdel(Obj)
if(!i)
usr << "No objects of this type exist"
return
@@ -888,7 +888,7 @@ client
usr << "Removed [rem_organ] from [M]."
rem_organ.removed()
del(rem_organ)
qdel(rem_organ)
else if(href_list["fix_nano"])
if(!check_rights(R_DEBUG)) return