Skip to content

Commit

Permalink
fix savegame labels
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsage committed May 17, 2024
1 parent 23d03ca commit 0799080
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions renderer/renderJS/savegame_ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,11 @@ function updateCounts() {
const quantity = element.querySelector('.quantity')
quantity.innerHTML = selectCount[labelName]
}
for ( const element of fsgUtil.query('[for^="check_savegame"]') ) {
const labelName = element.getAttribute('for').replace('check_savegame_', '')
const quantity = element.querySelector('.quantity')
quantity.innerHTML = selectCount[labelName]
}
}

function getColor(mod) {
Expand Down

0 comments on commit 0799080

Please sign in to comment.