[MIRROR] Fixes airlock shock indicators not being removed when the airlock is unshocked [MDB IGNORE] (#14789)

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

shocking development

* Fixes airlock shock indicators not being removed when the airlock is unshocked

Co-authored-by: zxaber <37497534+zxaber@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-07-08 20:57:51 +02:00
committed by GitHub
parent 718a816c6c
commit cb7a8dc1a2
+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
/**