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')
-rw-r--r-- | src/modules/gameboard.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/gameboard.js b/src/modules/gameboard.js index f909d1f..135b5e9 100644 --- a/src/modules/gameboard.js +++ b/src/modules/gameboard.js @@ -434,7 +434,7 @@ export function setCounter(name) { } function arrangeCounters(container) { - const counters = container.querySelectorAll('[class^="counter-"]'); + const counters = [...container.children].filter(isCounter); const length = 12; const gravity = 1; const lateralForce = gravity; |