From ef8d5d97b002e8707c136beac1e39f02c8d8841f Mon Sep 17 00:00:00 2001 From: Henri215 <77684085+Henri215@users.noreply.github.com> Date: Fri, 2 Jun 2023 15:52:53 -0300 Subject: [PATCH] Fixes ghosts not being able to deactivate antaghud (#21180) --- code/modules/tgui/modules/ghost_hud_panel.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/tgui/modules/ghost_hud_panel.dm b/code/modules/tgui/modules/ghost_hud_panel.dm index 8ce39eb12dd..2fa63bd345b 100644 --- a/code/modules/tgui/modules/ghost_hud_panel.dm +++ b/code/modules/tgui/modules/ghost_hud_panel.dm @@ -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)