Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/game.js')
-rw-r--r--src/modules/game.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/game.js b/src/modules/game.js
index 657aa9d..237e346 100644
--- a/src/modules/game.js
+++ b/src/modules/game.js
@@ -99,10 +99,12 @@ export default class Game {
}
select(allegiance, number) {
+ this.placing.push(this.counter.getCounter(allegiance, number));
this.counter.select({ dataset: { allegiance, number } });
}
unSelect() {
+ this.placing = [];
this.counter.unSelect();
}