index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'src/modules/record_sheet.js')
-rw-r--r-- | src/modules/record_sheet.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/record_sheet.js b/src/modules/record_sheet.js index 931177f..684b84e 100644 --- a/src/modules/record_sheet.js +++ b/src/modules/record_sheet.js @@ -154,8 +154,8 @@ function createRecords(units) { return grouped; } -function getRecord({ dataset: { allegiance: al, number: n }}) { - const selector = `.soldier-record[data-number="${n}"][data-allegiance="${al}"]`; +function getRecord({ dataset: { allegiance: al, number: n, squad: s }}) { + const selector = `.soldier-record[data-number="${n}"][data-allegiance="${al}"][data-squad="${s}"]`; return document.querySelector(selector); } |