Skip to content

Commit

Permalink
grrr
Browse files Browse the repository at this point in the history
  • Loading branch information
realforest2001 committed Feb 27, 2024
1 parent f375b36 commit c8e3af6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions code/modules/borer/borer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -283,12 +283,18 @@

/mob/living/carbon/cortical_borer/Destroy()
SSmob.living_misc_mobs -= src
var/datum/mob_hud/H = GLOB.huds[MOB_HUD_BRAINWORM]
H.remove_hud_from(src, src)

remove_from_all_mob_huds()
if(host)
for(var/datum/action/innate/borer/action in host.actions)
action.hide_from(host)
return ..()

/mob/living/carbon/cortical_borer/remove_from_all_mob_huds()
for(var/datum/mob_hud/hud in GLOB.huds)
if(istype(hud, /datum/mob_hud/brainworm))
hud.remove_from_hud(src)
hud.remove_hud_from(src, src)
//###################################################//


Expand Down

0 comments on commit c8e3af6

Please sign in to comment.