Add some team color counters
This commit is contained in:
@@ -162,7 +162,7 @@ document.querySelectorAll('.set-firing-arc').forEach(el =>
|
||||
el.addEventListener('click', gameboard.setFiringArc)
|
||||
);
|
||||
|
||||
document.querySelectorAll('.counters-list button').forEach(el => {
|
||||
document.querySelectorAll('.counters-list button, button.attacker, button.defender').forEach(el => {
|
||||
el.addEventListener('click', e => gameboard.setCounter(el.className));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user