Your wonderful mod broke when Klei added Peggy the biobot. The fix is not to dereference value on the radiation balance when it is null. Should I make a pull request? This is the change:
AmountInstance amount = consumer.GetAmounts().Get(Db.Get().Amounts.RadiationBalance.Id);
if (amount != null)
{
if (amount.value < BetterRadPills.Settings.Rads)
{
__result = false;
}
}
Your wonderful mod broke when Klei added Peggy the biobot. The fix is not to dereference value on the radiation balance when it is null. Should I make a pull request? This is the change: