From 608ce121567e883f563b518d60f2238a5f58164f Mon Sep 17 00:00:00 2001 From: Felix Linker Date: Mon, 17 Sep 2018 00:21:13 +0200 Subject: [PATCH] Undefined variable reference fix --- src/app/shipyard/Module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/shipyard/Module.js b/src/app/shipyard/Module.js index 512eade2..4a19311c 100755 --- a/src/app/shipyard/Module.js +++ b/src/app/shipyard/Module.js @@ -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); }