Fix conflicts between helmet/mech HUDs and HUD glasses
This commit is contained in:
committed by
CitadelStationBot
parent
0e0eb351b3
commit
952fa2a0f2
@@ -19,12 +19,10 @@
|
||||
if(HUD_type)
|
||||
var/datum/atom_hud/H = GLOB.huds[HUD_type]
|
||||
H.add_hud_to(M)
|
||||
M.permanent_huds |= H
|
||||
|
||||
/obj/item/organ/cyberimp/eyes/hud/Remove(var/mob/living/carbon/M, var/special = 0)
|
||||
if(HUD_type)
|
||||
var/datum/atom_hud/H = GLOB.huds[HUD_type]
|
||||
M.permanent_huds ^= H
|
||||
H.remove_hud_from(M)
|
||||
..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user