fixes the hud not being removed (#50111)

This commit is contained in:
necromanceranne
2020-03-21 17:11:08 +01:00
committed by GitHub
parent e6fea57dd1
commit 0044136ddb
+1 -1
View File
@@ -38,7 +38,7 @@
/obj/item/clothing/mask/infiltrator/dropped(mob/living/carbon/human/user)
to_chat(user, "You pull off the balaclava, and the mask's internal hud system switches off quietly.")
REMOVE_TRAIT(user, TRAIT_DIAGNOSTIC_HUD, MASK_TRAIT)
var/datum/atom_hud/H = GLOB.huds[DATA_HUD_DIAGNOSTIC_ADVANCED]
var/datum/atom_hud/H = GLOB.huds[DATA_HUD_DIAGNOSTIC_BASIC]
H.remove_hud_from(user)
voice_unknown = FALSE
return ..()