Undefined variable reference fix

This commit is contained in:
Felix Linker
2018-09-17 00:21:13 +02:00
parent 80d653483a
commit 608ce12156

View File

@@ -361,7 +361,7 @@ export default class Module {
const statGetter = this[formattingOptions.synthetic];
let unmodifiedStat = statGetter.call(this, false);
let modifiedStat = statGetter.call(this, true);
result = (modifiedStat / unmodifiedStat - 1) * 10000;
val = (modifiedStat / unmodifiedStat - 1) * 10000;
} else {
val = this.getModValue(name);
}