From c2a029a6f28d8d64fc2a2a0d470dfe8983817e88 Mon Sep 17 00:00:00 2001 From: zxaber <37497534+zxaber@users.noreply.github.com> Date: Thu, 7 Jul 2022 20:00:38 -0700 Subject: [PATCH] Fixes airlock shock indicators not being removed when the airlock is unshocked (#68112) shocking development --- code/modules/mob/mob.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index fbe9e09629a..c4eca629910 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -129,9 +129,8 @@ if(!istext(hud_category)) return FALSE - LAZYREMOVE(active_hud_list, hud_category) - if(!update_huds) + LAZYREMOVE(active_hud_list, hud_category) return TRUE if(exclusive_hud) @@ -140,6 +139,8 @@ for(var/datum/atom_hud/hud_to_update as anything in GLOB.huds_by_category[hud_category]) hud_to_update.remove_single_hud_category_on_atom(src, hud_category) + LAZYREMOVE(active_hud_list, hud_category) + return TRUE /**