Neatens the code, by making non-visible antaghuds a subtype of antaghud.

This commit is contained in:
Mike Long
2016-03-08 21:19:46 -05:00
parent 5b2222b7a9
commit 0669fca278
6 changed files with 15 additions and 13 deletions

View File

@@ -504,7 +504,7 @@ var/list/slot2type = list("head" = /obj/item/clothing/head/changeling, "wear_mas
/datum/game_mode/proc/update_changeling_icons_added(datum/mind/changling_mind)
var/datum/atom_hud/antag/hud = huds[ANTAG_HUD_CHANGELING]
hud.join_hud(changling_mind.current, 0)
hud.join_hud(changling_mind.current)
set_antag_hud(changling_mind.current, "changling")
/datum/game_mode/proc/update_changeling_icons_removed(datum/mind/changling_mind)