mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Renames QDEL_LIST to QDEL_LIST_CONTENTS (#20006)
* Renames QDEL_LIST to QDEL_LIST_CONTENTS * derp
This commit is contained in:
@@ -11,9 +11,9 @@
|
||||
for(var/obj/item in get_all_slots())
|
||||
unEquip(item)
|
||||
qdel(item)
|
||||
QDEL_LIST(internal_organs)
|
||||
QDEL_LIST(stomach_contents)
|
||||
QDEL_LIST(processing_patches)
|
||||
QDEL_LIST_CONTENTS(internal_organs)
|
||||
QDEL_LIST_CONTENTS(stomach_contents)
|
||||
QDEL_LIST_CONTENTS(processing_patches)
|
||||
GLOB.carbon_list -= src
|
||||
return ..()
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
/mob/living/carbon/human/Destroy()
|
||||
. = ..()
|
||||
SSmobs.cubemonkeys -= src
|
||||
QDEL_LIST(bodyparts)
|
||||
QDEL_LIST_CONTENTS(bodyparts)
|
||||
splinted_limbs.Cut()
|
||||
QDEL_NULL(physiology)
|
||||
GLOB.human_list -= src
|
||||
|
||||
@@ -191,8 +191,8 @@
|
||||
return species_language.get_random_name(gender)
|
||||
|
||||
/datum/species/proc/create_organs(mob/living/carbon/human/H) //Handles creation of mob organs.
|
||||
QDEL_LIST(H.internal_organs)
|
||||
QDEL_LIST(H.bodyparts)
|
||||
QDEL_LIST_CONTENTS(H.internal_organs)
|
||||
QDEL_LIST_CONTENTS(H.bodyparts)
|
||||
|
||||
LAZYREINITLIST(H.bodyparts)
|
||||
LAZYREINITLIST(H.bodyparts_by_name)
|
||||
|
||||
@@ -428,7 +428,7 @@
|
||||
|
||||
if(C.reagents)
|
||||
C.reagents.clear_reagents()
|
||||
QDEL_LIST(C.reagents.addiction_list)
|
||||
QDEL_LIST_CONTENTS(C.reagents.addiction_list)
|
||||
C.reagents.addiction_threshold_accumulated.Cut()
|
||||
if(iscultist(src))
|
||||
if(SSticker.mode.cult_risen)
|
||||
@@ -436,7 +436,7 @@
|
||||
if(SSticker.mode.cult_ascendant)
|
||||
SSticker.mode.ascend(src)
|
||||
|
||||
QDEL_LIST(C.processing_patches)
|
||||
QDEL_LIST_CONTENTS(C.processing_patches)
|
||||
|
||||
// rejuvenate: Called by `revive` to get the mob into a revivable state
|
||||
// the admin "rejuvenate" command calls `revive`, not this proc.
|
||||
|
||||
@@ -77,12 +77,12 @@
|
||||
|
||||
/obj/item/robot_module/Destroy()
|
||||
// These can all contain actual objects, so we need to null them out.
|
||||
QDEL_LIST(modules)
|
||||
QDEL_LIST(basic_modules)
|
||||
QDEL_LIST(emag_modules)
|
||||
QDEL_LIST(malf_modules)
|
||||
QDEL_LIST(storages)
|
||||
QDEL_LIST(special_rechargables)
|
||||
QDEL_LIST_CONTENTS(modules)
|
||||
QDEL_LIST_CONTENTS(basic_modules)
|
||||
QDEL_LIST_CONTENTS(emag_modules)
|
||||
QDEL_LIST_CONTENTS(malf_modules)
|
||||
QDEL_LIST_CONTENTS(storages)
|
||||
QDEL_LIST_CONTENTS(special_rechargables)
|
||||
return ..()
|
||||
|
||||
|
||||
|
||||
@@ -1039,7 +1039,7 @@ Pass a positive integer as an argument to override a bot's default speed.
|
||||
clear_path_image()
|
||||
|
||||
var/list/path_images = hud_list[DIAG_PATH_HUD]
|
||||
QDEL_LIST(path_images)
|
||||
QDEL_LIST_CONTENTS(path_images)
|
||||
if(newpath)
|
||||
for(var/i in 1 to newpath.len)
|
||||
var/turf/T = newpath[i]
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
if(mind && mind.current == src)
|
||||
spellremove(src)
|
||||
mobspellremove(src)
|
||||
QDEL_LIST(viruses)
|
||||
QDEL_LIST(actions)
|
||||
QDEL_LIST_CONTENTS(viruses)
|
||||
QDEL_LIST_CONTENTS(actions)
|
||||
for(var/alert in alerts)
|
||||
clear_alert(alert)
|
||||
ghostize()
|
||||
|
||||
Reference in New Issue
Block a user