fix(character/talents): show main spec even with 0 points spent

This commit is contained in:
Axel Cocat 2022-01-21 15:13:45 +01:00
parent b19bd0b0a3
commit ed424d63d0

View file

@ -87,7 +87,7 @@
createTree(tree, learned, $tree[0]); createTree(tree, learned, $tree[0]);
} }
if (nbLearned === 0) { if (nbLearned === 0 && spec !== 0) {
$spec.hide(); $spec.hide();
$("#spec-links").hide(); $("#spec-links").hide();
continue; continue;