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/modules/mob/mob.dm b/code/modules/mob/mob.dm (rejected hunks)
|
||||
@@ -29,6 +29,8 @@
|
||||
prepare_huds()
|
||||
can_ride_typecache = typecacheof(can_ride_typecache)
|
||||
for(var/v in GLOB.active_alternate_appearances)
|
||||
+ if(!v)
|
||||
+ continue
|
||||
var/datum/atom_hud/alternate_appearance/AA = v
|
||||
AA.onNewMob(src)
|
||||
..()
|
||||
Reference in New Issue
Block a user