Renames QDEL_LIST to QDEL_LIST_CONTENTS (#20006)

* Renames QDEL_LIST to QDEL_LIST_CONTENTS

* derp
This commit is contained in:
AffectedArc07
2022-12-29 14:28:40 +00:00
committed by GitHub
parent 6486a7e109
commit e91b6c94f7
72 changed files with 111 additions and 111 deletions
+1 -1
View File
@@ -48,7 +48,7 @@
finished = TRUE
/datum/beam/proc/Reset()
QDEL_LIST(elements)
QDEL_LIST_CONTENTS(elements)
/datum/beam/Destroy()
Reset()
+1 -1
View File
@@ -24,7 +24,7 @@
holder.click_intercept = null
holder.show_popup_menus = TRUE
holder = null
QDEL_LIST(buttons)
QDEL_LIST_CONTENTS(buttons)
return ..()
/**
+3 -3
View File
@@ -47,7 +47,7 @@
/datum/component/proximity_monitor/Destroy(force, silent)
hasprox_receiver = null
nested_receiver_locs.Cut()
QDEL_LIST(proximity_checkers)
QDEL_LIST_CONTENTS(proximity_checkers)
return ..()
/datum/component/proximity_monitor/RegisterWithParent()
@@ -286,8 +286,8 @@
/datum/component/proximity_monitor/advanced/Destroy(force, silent)
STOP_PROCESSING(SSfields, src)
QDEL_LIST(field_checkers)
QDEL_LIST(edge_checkers)
QDEL_LIST_CONTENTS(field_checkers)
QDEL_LIST_CONTENTS(edge_checkers)
return ..()
/datum/component/proximity_monitor/advanced/create_prox_checkers()
+2 -2
View File
@@ -1539,10 +1539,10 @@
/**
* Removes all antag datums from the src mind.
*
* Use this over doing `QDEL_LIST(antag_datums)`.
* Use this over doing `QDEL_LIST_CONTENTS(antag_datums)`.
*/
/datum/mind/proc/remove_all_antag_datums()
// This is not `QDEL_LIST(antag_datums)`because it's possible for the `antag_datums` list to be set to null during deletion of an antag datum.
// This is not `QDEL_LIST_CONTENTS(antag_datums)`because it's possible for the `antag_datums` list to be set to null during deletion of an antag datum.
// Then `QDEL_LIST` would runtime because it would be doing `null.Cut()`.
for(var/datum/antagonist/A as anything in antag_datums)
qdel(A)
+2 -2
View File
@@ -26,7 +26,7 @@
var/list/effects
/obj/effect/proc_holder/spell/spacetime_dist/Destroy()
QDEL_LIST(effects)
QDEL_LIST_CONTENTS(effects)
return ..()
/obj/effect/proc_holder/spell/spacetime_dist/create_new_targeting()
@@ -70,7 +70,7 @@
/// Callback which cleans up our effects list after the duration expires.
/obj/effect/proc_holder/spell/spacetime_dist/proc/clean_turfs()
QDEL_LIST(effects)
QDEL_LIST_CONTENTS(effects)
ready = TRUE
/obj/effect/cross_action