diff --git a/code/datums/datum.dm b/code/datums/datum.dm index 5bfd548b64e..07fad7092a3 100644 --- a/code/datums/datum.dm +++ b/code/datums/datum.dm @@ -406,3 +406,11 @@ /// Can be called more then once per object, use harddel_deets_dumped to avoid duplicate calls (I am so sorry) /datum/proc/dump_harddel_info() return + +///images are pretty generic, this should help a bit with tracking harddels related to them +/image/dump_harddel_info() + if(harddel_deets_dumped) + return + harddel_deets_dumped = TRUE + return "Image icon: [icon] - icon_state: [icon_state] [loc ? "loc: [loc] ([loc.x],[loc.y],[loc.z])" : ""]" + diff --git a/code/modules/mob/living/basic/bots/bot_hud.dm b/code/modules/mob/living/basic/bots/bot_hud.dm index c4001473f94..cbadab01360 100644 --- a/code/modules/mob/living/basic/bots/bot_hud.dm +++ b/code/modules/mob/living/basic/bots/bot_hud.dm @@ -50,7 +50,7 @@ clear_path_hud() var/list/path_images = active_hud_list[DIAG_PATH_HUD] - QDEL_LIST(path_images) + LAZYCLEARLIST(path_images) var/list/path_huds_watching_me = list(GLOB.huds[DATA_HUD_DIAGNOSTIC_ADVANCED]) diff --git a/code/modules/mob/living/simple_animal/bot/bot.dm b/code/modules/mob/living/simple_animal/bot/bot.dm index 39ac1fd02e3..22c7439ec80 100644 --- a/code/modules/mob/living/simple_animal/bot/bot.dm +++ b/code/modules/mob/living/simple_animal/bot/bot.dm @@ -1175,7 +1175,7 @@ Pass a positive integer as an argument to override a bot's default speed. hud.remove_atom_from_hud(src) var/list/path_images = active_hud_list[DIAG_PATH_HUD] - QDEL_LIST(path_images) + LAZYCLEARLIST(path_images) if(length(newpath)) var/mutable_appearance/path_image = new /mutable_appearance() path_image.icon = path_image_icon