mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2024-12-03 13:21:34 +00:00
chore: Better Achievement Displays
This commit is contained in:
parent
12a1ccf66b
commit
d1da81c1f8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue