From c9fc8c99f1f239a41bb190351fffa2b19b2c29dd Mon Sep 17 00:00:00 2001 From: Josh Hunt Date: Sat, 31 Dec 2016 10:59:59 +1100 Subject: [PATCH] Load stat icons using require() (but its not working :thinking:) --- app/scripts/minmax/dimMinMax.controller.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/scripts/minmax/dimMinMax.controller.js b/app/scripts/minmax/dimMinMax.controller.js index bc646a8a0f..4470cf4be7 100644 --- a/app/scripts/minmax/dimMinMax.controller.js +++ b/app/scripts/minmax/dimMinMax.controller.js @@ -508,23 +508,24 @@ const _ = require('underscore'); value: 0, tier: 0, name: 'Intellect', - icon: 'images/Intellect.png' + icon: require('app/images/Intellect.png'), }, STAT_DISCIPLINE: { value: 0, tier: 0, name: 'Discipline', - icon: 'images/Discipline.png' + icon: require('app/images/Discipline.png'), }, STAT_STRENGTH: { value: 0, tier: 0, name: 'Strength', - icon: 'images/Strength.png' + icon: require('app/images/Strength.png'), } }, setHash: 0 }; + if (validSet(set.armor)) { vm.hasSets = true; set.setHash = genSetHash(set.armor);