mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 06:57:42 +01:00
Renames QDEL_LIST to QDEL_LIST_CONTENTS (#20006)
* Renames QDEL_LIST to QDEL_LIST_CONTENTS * derp
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@
|
||||
finished = TRUE
|
||||
|
||||
/datum/beam/proc/Reset()
|
||||
QDEL_LIST(elements)
|
||||
QDEL_LIST_CONTENTS(elements)
|
||||
|
||||
/datum/beam/Destroy()
|
||||
Reset()
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
holder.click_intercept = null
|
||||
holder.show_popup_menus = TRUE
|
||||
holder = null
|
||||
QDEL_LIST(buttons)
|
||||
QDEL_LIST_CONTENTS(buttons)
|
||||
return ..()
|
||||
|
||||
/**
|
||||
|
||||
@@ -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
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user