Fixes airlock shock indicators not being removed when the airlock is unshocked (#68112)

shocking development
This commit is contained in:
zxaber
2022-07-07 20:00:38 -07:00
committed by GitHub
parent cf8b05bf6a
commit c2a029a6f2
+3 -2
View File
@@ -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
/**