index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-08-02 14:37:20 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-08-02 14:37:20 -0700 |
commit | a042537c8eeff2e45bcc5d678e2657f4f542ec93 (patch) | |
tree | 6d7a5bc0ad04eb6cce6a1948cd8e8e671399bc87 /src/modules/game/soldier.js | |
parent | f6ee6e3560022c77724535c2f7abd98c474ced8c (diff) |
Fix firing arcs for squads
Diffstat (limited to 'src/modules/game/soldier.js')
-rw-r--r-- | src/modules/game/soldier.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/game/soldier.js b/src/modules/game/soldier.js index a71ceba..8407621 100644 --- a/src/modules/game/soldier.js +++ b/src/modules/game/soldier.js @@ -3,8 +3,8 @@ import { extractWeaponFromRecord, isRecord } from '../record_sheet.js'; const selectedClass = 'selected'; -function dataSelector({ dataset: { allegiance, number }}) { - return `[data-number="${number}"][data-allegiance="${allegiance}"]`; +function dataSelector({ dataset: { allegiance, number, squad }}) { + return `[data-number="${number}"][data-allegiance="${allegiance}"][data-squad="${squad}"]`; } function traceSelector(counter) { |