Fixed nulls in the active_alternate_appearances list (#568)
This commit is contained in:
committed by
Poojawa
parent
f881683902
commit
4cf23d086a
@@ -0,0 +1,10 @@
|
||||
diff a/code/datums/hud.dm b/code/datums/hud.dm (rejected hunks)
|
||||
@@ -80,7 +80,7 @@ GLOBAL_LIST_INIT(huds, list(
|
||||
gang_huds += G.ganghud
|
||||
|
||||
for(var/datum/atom_hud/hud in (GLOB.huds|gang_huds|GLOB.active_alternate_appearances))
|
||||
- if(hud.hudusers[src])
|
||||
+ if(hud && hud.hudusers[src])
|
||||
hud.add_hud_to(src)
|
||||
|
||||
/mob/dead/new_player/reload_huds()
|
||||
Reference in New Issue
Block a user