diff --git a/code/controllers/master_controller.dm b/code/controllers/master_controller.dm
index 9a9072bb0d4..99d8931ef3a 100644
--- a/code/controllers/master_controller.dm
+++ b/code/controllers/master_controller.dm
@@ -49,7 +49,7 @@ datum/controller/game_controller/New()
if(master_controller != src)
if(istype(master_controller))
Recover()
- qdel(master_controller)
+ del(master_controller)
master_controller = src
if(!job_master)
diff --git a/code/datums/datacore.dm b/code/datums/datacore.dm
index d99a17e7ab5..a17a2b6e560 100644
--- a/code/datums/datacore.dm
+++ b/code/datums/datacore.dm
@@ -316,7 +316,7 @@ proc/get_id_photo(var/mob/living/carbon/human/H)
preview_icon.Blend(eyes_s, ICON_OVERLAY)
if(clothes_s)
preview_icon.Blend(clothes_s, ICON_OVERLAY)
- del(eyes_s)
- del(clothes_s)
+ qdel(eyes_s)
+ qdel(clothes_s)
return preview_icon
diff --git a/code/datums/mind.dm b/code/datums/mind.dm
index d8221483127..9799cd2caf5 100644
--- a/code/datums/mind.dm
+++ b/code/datums/mind.dm
@@ -825,7 +825,7 @@ datum/mind
ticker.mode.changelings -= src
special_role = null
current.remove_changeling_powers()
- if(changeling) del(changeling)
+ if(changeling) qdel(changeling)
current << "You grow weak and lose your powers! You are no longer a changeling and are stuck in your current form!"
log_admin("[key_name_admin(usr)] has de-changeling'ed [current].")
if("changeling")
@@ -855,7 +855,7 @@ datum/mind
ticker.mode.vampires -= src
special_role = null
current.remove_vampire_powers()
- if(vampire) del(vampire)
+ if(vampire) qdel(vampire)
current << "You grow weak and lose your powers! You are no longer a vampire and are stuck in your current form!"
log_admin("[key_name_admin(usr)] has de-vampired [current].")
if("vampire")
@@ -1021,7 +1021,7 @@ datum/mind
A.malf_picker.remove_verbs(A)
A.make_laws()
- del(A.malf_picker)
+ qdel(A.malf_picker)
A.show_laws()
A.icon_state = "ai"
diff --git a/code/game/gamemodes/gameticker.dm b/code/game/gamemodes/gameticker.dm
index 26c88144d78..0c9aec27196 100644
--- a/code/game/gamemodes/gameticker.dm
+++ b/code/game/gamemodes/gameticker.dm
@@ -355,7 +355,7 @@ var/global/datum/controller/gameticker/ticker
continue
else
player.create_character()
- del(player)
+ qdel(player)
proc/collect_minds()
diff --git a/code/game/machinery/computer/medical.dm b/code/game/machinery/computer/medical.dm
index f63748d81e2..0680cb330f4 100644
--- a/code/game/machinery/computer/medical.dm
+++ b/code/game/machinery/computer/medical.dm
@@ -219,7 +219,7 @@
if (href_list["del_all2"])
for(var/datum/data/record/R in data_core.medical)
//R = null
- del(R)
+ qdel(R)
//Foreach goto(494)
src.temp = "All records deleted."
diff --git a/code/game/machinery/overview.dm b/code/game/machinery/overview.dm
index 35954c0c8b6..1f1395431d9 100644
--- a/code/game/machinery/overview.dm
+++ b/code/game/machinery/overview.dm
@@ -180,8 +180,8 @@
HI.Insert(I, frame=1, delay = 5)
HI.Insert(J, frame=2, delay = 5)
- del(I)
- del(J)
+ qdel(I)
+ qdel(J)
H.icon = HI
H.layer = 25
usr.mapobjs += H
@@ -306,7 +306,7 @@
var/icon/I = imap[i+1]
H.icon = I
- del(I)
+ qdel(I)
H.layer = 25
usr.mapobjs += H
@@ -353,7 +353,7 @@ proc/getb(col)
/mob/proc/clearmap()
src.client.screen -= src.mapobjs
for(var/obj/screen/O in mapobjs)
- del(O)
+ qdel(O)
mapobjs = null
src.unset_machine()
diff --git a/code/game/machinery/telecomms/logbrowser.dm b/code/game/machinery/telecomms/logbrowser.dm
index dc721495245..824dc21db76 100644
--- a/code/game/machinery/telecomms/logbrowser.dm
+++ b/code/game/machinery/telecomms/logbrowser.dm
@@ -101,7 +101,7 @@
race = "Unidentifiable"
language = race
- del(M)
+ qdel(M)
// -- If the orator is a human, or universal translate is active, OR mob has universal speech on --
diff --git a/code/game/objects/effects/effect_system.dm b/code/game/objects/effects/effect_system.dm
index 7790be53bed..1d25b822d9b 100644
--- a/code/game/objects/effects/effect_system.dm
+++ b/code/game/objects/effects/effect_system.dm
@@ -427,7 +427,7 @@ steam.start() -- spawns the effect
if(seed_name && plant_controller)
seed = plant_controller.seeds[seed_name]
if(!seed)
- del(src)
+ qdel(src)
..()
diff --git a/code/modules/admin/verbs/one_click_antag.dm b/code/modules/admin/verbs/one_click_antag.dm
index a31e9b38242..6bb2f96ba06 100644
--- a/code/modules/admin/verbs/one_click_antag.dm
+++ b/code/modules/admin/verbs/one_click_antag.dm
@@ -367,7 +367,7 @@ client/proc/one_click_antag()
candidates.Remove(theghost)
if(!theghost)
- del(new_syndicate_commando)
+ qdel(new_syndicate_commando)
break
new_syndicate_commando.key = theghost.key
@@ -487,7 +487,7 @@ client/proc/one_click_antag()
candidates.Remove(theghost)
if(!theghost)
- del(new_vox)
+ qdel(new_vox)
break
new_vox.key = theghost.key
diff --git a/code/modules/hydroponics/seed_controller.dm b/code/modules/hydroponics/seed_controller.dm
index 9a0db47790c..6a2da055319 100644
--- a/code/modules/hydroponics/seed_controller.dm
+++ b/code/modules/hydroponics/seed_controller.dm
@@ -37,7 +37,7 @@ var/global/datum/controller/plants/plant_controller // Set in New().
/datum/controller/plants/New()
if(plant_controller && plant_controller != src)
log_debug("Rebuilding plant controller.")
- qdel(plant_controller)
+ del(plant_controller)
plant_controller = src
setup()
process()
diff --git a/code/modules/mob/living/carbon/brain/death.dm b/code/modules/mob/living/carbon/brain/death.dm
index 0c4c8d96c45..17bf26de838 100644
--- a/code/modules/mob/living/carbon/brain/death.dm
+++ b/code/modules/mob/living/carbon/brain/death.dm
@@ -37,7 +37,7 @@
qdel(container)//Gets rid of the MMI if there is one
if(loc)
if(istype(loc,/obj/item/organ/brain))
- del(loc)//Gets rid of the brain item
+ qdel(loc)//Gets rid of the brain item
spawn(15)
if(animation) qdel(animation)
if(src) qdel(src)
\ No newline at end of file
diff --git a/code/modules/mob/living/carbon/human/update_icons.dm b/code/modules/mob/living/carbon/human/update_icons.dm
index ac83f3115d4..c2d10e26143 100644
--- a/code/modules/mob/living/carbon/human/update_icons.dm
+++ b/code/modules/mob/living/carbon/human/update_icons.dm
@@ -243,7 +243,7 @@ var/global/list/damage_icon_parts = list()
//0 = destroyed, 1 = normal, 2 = robotic, 3 = necrotic.
//Create a new, blank icon for our mob to use.
if(stand_icon)
- del(stand_icon)
+ qdel(stand_icon)
stand_icon = new(species.icon_template ? species.icon_template : 'icons/mob/human.dmi',"blank")
var/icon_key = "[species.race_key][g][s_tone][r_skin][g_skin][b_skin]"
var/obj/item/organ/eyes/eyes = internal_organs_by_name["eyes"]
@@ -447,7 +447,7 @@ var/global/list/damage_icon_parts = list()
if (targeted_by && target_locked)
overlays_standing[TARGETED_LAYER] = target_locked
else if (!targeted_by && target_locked)
- del(target_locked)
+ qdel(target_locked)
if (!targeted_by)
overlays_standing[TARGETED_LAYER] = null
if(update_icons) update_icons()
diff --git a/code/modules/mob/living/silicon/ai/latejoin.dm b/code/modules/mob/living/silicon/ai/latejoin.dm
index 8c966d636c7..2da08205836 100644
--- a/code/modules/mob/living/silicon/ai/latejoin.dm
+++ b/code/modules/mob/living/silicon/ai/latejoin.dm
@@ -34,11 +34,11 @@ var/global/list/empty_playable_ai_cores = list()
job_master.FreeRole(job)
if(mind.objectives.len)
- del(mind.objectives)
+ qdel(mind.objectives)
mind.special_role = null
else
if(ticker.mode.name == "AutoTraitor")
var/datum/game_mode/traitor/autotraitor/current_mode = ticker.mode
current_mode.possible_traitors.Remove(src)
- del(src)
\ No newline at end of file
+ qdel(src)
\ No newline at end of file
diff --git a/code/modules/mob/living/silicon/pai/death.dm b/code/modules/mob/living/silicon/pai/death.dm
index fea081ddfff..08ec0e706d3 100644
--- a/code/modules/mob/living/silicon/pai/death.dm
+++ b/code/modules/mob/living/silicon/pai/death.dm
@@ -22,8 +22,8 @@
//New pAI's get a brand new mind to prevent meta stuff from their previous life. This new mind causes problems down the line if it's not deleted here.
//Read as: I have no idea what I'm doing but asking for help got me nowhere so this is what you get. - Nodrak
- if(mind) del(mind)
+ if(mind) qdel(mind)
living_mob_list -= src
ghostize()
if(icon_state != "[chassis]_dead")
- del(src)
+ qdel(src)
diff --git a/code/modules/mob/new_player/logout.dm b/code/modules/mob/new_player/logout.dm
index 9f064a99cd5..ad1c9b3098d 100644
--- a/code/modules/mob/new_player/logout.dm
+++ b/code/modules/mob/new_player/logout.dm
@@ -3,5 +3,5 @@
..()
if(!spawning)//Here so that if they are spawning and log out, the other procs can play out and they will have a mob to come back to.
key = null//We null their key before deleting the mob, so they are properly kicked out.
- del(src)
+ qdel(src)
return
\ No newline at end of file
diff --git a/code/modules/mob/new_player/new_player.dm b/code/modules/mob/new_player/new_player.dm
index f9965b9275c..15456b3fa7c 100644
--- a/code/modules/mob/new_player/new_player.dm
+++ b/code/modules/mob/new_player/new_player.dm
@@ -138,7 +138,7 @@
observer.verbs -= /mob/dead/observer/verb/toggle_antagHUD // Poor guys, don't know what they are missing!
observer.key = key
respawnable_list += observer
- del(src)
+ qdel(src)
return 1
if(href_list["late_join"])
@@ -325,8 +325,8 @@
AnnounceCyborg(character, rank, "has been downloaded to the empty core in \the [character.loc.loc]")
ticker.mode.latespawn(character)
- del(C)
- del(src)
+ qdel(C)
+ qdel(src)
return
//Find our spawning point.
@@ -364,7 +364,7 @@
else
AnnounceCyborg(character, rank, join_message)
callHook("latespawn", list(character))
- del(src)
+ qdel(src)
proc/AnnounceArrival(var/mob/living/carbon/human/character, var/rank, var/join_message)
diff --git a/code/modules/power/lighting.dm b/code/modules/power/lighting.dm
index 74d633a8fbe..d8769065d32 100644
--- a/code/modules/power/lighting.dm
+++ b/code/modules/power/lighting.dm
@@ -591,7 +591,7 @@
sleep(2)
explosion(T, 0, 0, 2, 2)
sleep(1)
- del(src)
+ qdel(src)
// the light item
// can be tube or bulb subtypes