mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 19:44:58 +01:00
[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:
@@ -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
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user