Fixes ghosts not being able to deactivate antaghud (#21180)

This commit is contained in:
Henri215
2023-06-02 15:52:53 -03:00
committed by GitHub
parent 77f37760e7
commit ef8d5d97b0
+1 -1
View File
@@ -78,4 +78,4 @@ GLOBAL_DATUM_INIT(ghost_hud_panel, /datum/ui_module/ghost_hud_panel, new)
if("ahud_off")
ghost.antagHUD = FALSE
for(var/datum/atom_hud/antag/H in GLOB.huds)
H.add_hud_to(ghost)
H.remove_hud_from(ghost)