Closed EthanKetell closed 3 years ago
Animal Genetics uses mostly-empty StatDefs which lack labels and categories. This change makes it so the alwaysHide flag is respected when displaying the stats window, bypassing a null reference exception at i.category.displayOrder
alwaysHide
i.category.displayOrder
This could also be done more directly with a null check for i.category, but hiding things that are supposed to never show up makes sense, too.
i.category
Reasonable
Animal Genetics uses mostly-empty StatDefs which lack labels and categories. This change makes it so the
alwaysHide
flag is respected when displaying the stats window, bypassing a null reference exception ati.category.displayOrder