Fix skill_icon accumulating the first symbol (const -> let)
This commit is contained in:
parent
df51724b59
commit
5fa9bf0cdd
@ -167,7 +167,7 @@ function build_card(component) {
|
|||||||
Wild: 0,
|
Wild: 0,
|
||||||
};
|
};
|
||||||
for (let i = 1; i<=6; i++) {
|
for (let i = 1; i<=6; i++) {
|
||||||
const skill_icon = component.settings.get('Skill' + i);
|
let skill_icon = component.settings.get('Skill' + i);
|
||||||
if (skill_icon in skills) {
|
if (skill_icon in skills) {
|
||||||
skills[skill_icon] += 1;
|
skills[skill_icon] += 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user