Fixed bp preset highlight when specials alter on the same values

This commit is contained in:
ExitCode
2018-04-23 01:16:13 +02:00
parent 70375f94c8
commit 38463ad9a6

View File

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