Del() -> Qdel()

This commit is contained in:
skull132
2016-02-07 14:59:21 +02:00
parent d465b9aabe
commit 36dbadc106
5 changed files with 9 additions and 9 deletions

View File

@@ -709,7 +709,7 @@
usr.loc = picked
M.current.remove_vampire_blood(30)
spawn(10)
del(animation)
qdel(animation)
// M.current.remove_vampire_blood(30)
M.current.verbs -= /client/vampire/proc/vampire_shadowstep
spawn(20)
@@ -758,7 +758,7 @@
for(var/image/I in t_mind.current.client.images)
if((I.icon_state == "vampthrall" || I.icon_state == "vampire") && I.loc == vampire_mind.current)
//world.log << "deleting [vampire_mind] overlay"
del(I)
qdel(I)
if(head)
//world.log << "found [head.name]"
if(head.current)
@@ -766,12 +766,12 @@
for(var/image/I in head.current.client.images)
if((I.icon_state == "vampthrall" || I.icon_state == "vampire") && I.loc == vampire_mind.current)
//world.log << "deleting [vampire_mind] overlay"
del(I)
qdel(I)
if(vampire_mind.current)
if(vampire_mind.current.client)
for(var/image/I in vampire_mind.current.client.images)
if(I.icon_state == "vampthrall" || I.icon_state == "vampire")
del(I)
qdel(I)
/client/vampire/proc/remove_vampire_mind(datum/mind/vampire_mind, datum/mind/head)
//var/list/removal

View File

@@ -523,7 +523,7 @@ var/list/obj/machinery/requests_console/allConsoles = list()
var/obj/item/weapon/paper_bundle/C = O
paperstock += C.amount
user.drop_item(C)
del(C)
qdel(C)
for (var/mob/U in hearers(4, src.loc))
U.show_message(text("\icon[src] *The Requests Console beeps: 'Paper added.'"))
else
@@ -532,7 +532,7 @@ var/list/obj/machinery/requests_console/allConsoles = list()
if(lid) //Stocking them papers
var/obj/item/weapon/paper/C = O
user.drop_item(C)
del(C)
qdel(C)
paperstock++
for (var/mob/U in hearers(4, src.loc))
U.show_message(text("\icon[src] *The Requests Console beeps: 'Paper added.'"))

View File

@@ -313,7 +313,7 @@
s.start()
spawn(5)
del(s)
qdel(s)
#undef STATUS_INACTIVE
#undef STATUS_ACTIVE

View File

@@ -14,4 +14,4 @@
S.silent = 1
S.desc += " They appear to have some type of fabric soles"
user.drop_from_inventory(src)
del(src)
qdel(src)

View File

@@ -33,7 +33,7 @@
user << "<span class='danger'>[src] blows up in your face!</span>"
explosion(get_turf(user), 0, 0, 1, rand(1,2))
user.drop_item()
del(src)
qdel(src)
return 0
..()