Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/game/soldier.js')
-rw-r--r--src/modules/game/soldier.js4
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) {