Fixed problems with sorting TaggedStrings. We need to call Resolve() on them before passing them as an argument to a Compare() method
Fixed a null-pointer caused by Alien Race definitions that have a null ColorGenerator
Changed Randomizer.RandomAdulthood() to choose a random backstory from a list provided by ProviderBackstories.
The previous implementation was returning null instead of a valid backstory
This was causing a null-pointer exception when saving a preset because CustomPawn.LastSelectedAdultBackstory would unexpectedly return null. We added a null-pointer check in the preset saving code
TaggedString
s. We need to callResolve()
on them before passing them as an argument to aCompare()
methodColorGenerator
Randomizer.RandomAdulthood()
to choose a random backstory from a list provided byProviderBackstories
.null
instead of a valid backstoryCustomPawn.LastSelectedAdultBackstory
would unexpectedly returnnull
. We added a null-pointer check in the preset saving code