class RimWorld.JobGiver_OptimizeApparel
function ApparelScoreRaw(Pawn pawn, Apparel ap)
Before the use of "pawn" in the majority of the method there are null checks except for the last two 'if' statements. The following if statements omit the check and are causing me problems with a mod.
if (!ap.def.apparel.CorrectGenderForWearing(pawn.gender))
...
if (pawn.royalty != null && pawn.royalty.AllTitlesInEffectForReading.Count > 0)
...
Thanks
Not a game bug but if it's simple to fix let's do it.
oops sorry if this was the wrong forum to report this in! (or if it was too small an issue)
In any case thank you for taking the time to respond :)
Fixed for next build.