algernon-A / Lifecycle-Rebalance-Revisited

Apache License 2.0
14 stars 4 forks source link

Initial NewResidentAI.cacheArray in other place. #5

Closed pcfantasy closed 4 years ago

pcfantasy commented 4 years ago

Hi, algernon:

I plan to patch GetCarProbability and need highest priority to return false in prefix.

But there is a confict with your mod when I do this, because you Initial array in GetCarProbability, and this array will used in later GetBikeProbability or GetTaxiProbability

NewResidentAI.cacheArray = NewResidentAI.GetArray(citizen.WealthLevel, subService, ageGroup);

Can you Initial array in level loader or some other place to help remove this conflict.

pcfantasy commented 4 years ago

I find a workaround to compatiable with this.