Fixed empty HUD_List breaking alternate_appearances (#33742)

* Alt Appearance works on empty HUD lists

* Fixes empty list runtime
This commit is contained in:
Robustin
2017-12-23 02:45:52 -05:00
committed by CitadelStationBot
parent 94e02ddeed
commit bede61c0ee
+1
View File
@@ -78,6 +78,7 @@ GLOBAL_LIST_EMPTY(active_alternate_appearances)
QDEL_NULL(ghost_appearance)
/datum/atom_hud/alternate_appearance/basic/add_to_hud(atom/A)
LAZYINITLIST(A.hud_list)
A.hud_list[appearance_key] = theImage
. = ..()