Skip to content

Commit

Permalink
huds
Browse files Browse the repository at this point in the history
  • Loading branch information
realforest2001 committed Feb 26, 2024
1 parent a4e765a commit 2b1bdaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/datums/mob_hud.dm
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,10 @@ GLOBAL_LIST_INIT_TYPED(huds, /datum/mob_hud, list(

/mob/living/carbon/xenomorph/remove_from_all_mob_huds()
for(var/datum/mob_hud/hud in GLOB.huds)
if(istype(hud, /datum/mob_hud/xeno))
if(istype(hud, /datum/mob_hud/xeno) || istype(hud, /datum/mob_hud/brainworm))
hud.remove_from_hud(src)
hud.remove_hud_from(src, src)
else if (istype(hud, /datum/mob_hud/xeno_infection) || istype(hud, /datum/mob_hud/brainworm))
else if (istype(hud, /datum/mob_hud/xeno_infection))
hud.remove_hud_from(src, src)
if (xeno_hostile_hud)
xeno_hostile_hud = FALSE
Expand Down

0 comments on commit 2b1bdaa

Please sign in to comment.