diff --git a/js/technical/displays.js b/js/technical/displays.js index 28c8cff..ba5a086 100644 --- a/js/technical/displays.js +++ b/js/technical/displays.js @@ -42,7 +42,7 @@ function achievementStyle(layer, id){ if (ach.image){ style.push({'background-image': 'url("' + ach.image + '")'}) } - if (!ach.unlocked) style.push({'visibility': 'hidden'}) + if (!hasAchievement(layer, id)) style.push({'visibility': 'hidden'}) style.push(ach.style) return style }