Closed simptomo closed 4 years ago
Not a fan of the double ternary, and the default value should probably be entry.AttenuationValue. Can you change it to:
entry.AttenuationValue
float atten = entry.AttenuationValue; if (entry.AttenuationCode > 0 && entry.AttenuationCode < TTAB.AttenuationValues.Length) { atten = TTAB.AttenuationValues[entry.AttenuationCode]; }
FindBestAction has been reworked, but I included a fix like this,
Not a fan of the double ternary, and the default value should probably be
entry.AttenuationValue
. Can you change it to: