Merge pull request #256 from ExitCode/develop

Fixed bp preset highlight when specials alter on the same values
This commit is contained in:
William
2018-04-24 14:49:39 +10:00
committed by GitHub

View File

@@ -422,10 +422,10 @@ export function getPercent(m) {
*/
function _getValue(m, featureName) {
if (Modifications.modifications[featureName].type == 'percentage') {
return m.getModValue(featureName) / 10000;
return m.getModValue(featureName, true) / 10000;
} else if (Modifications.modifications[featureName].type == 'numeric') {
return m.getModValue(featureName) / 100;
return m.getModValue(featureName, true) / 100;
} else {
return m.getModValue(featureName);
return m.getModValue(featureName, true);
}
}