Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-04-27 09:06:57 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-04-27 09:06:57 -0700
commitef885b91c2b08af27f5a6dca4172f0ed03677b66 (patch)
tree01c59186a409edea014546808febb659e13aba62 /src/modules/game.js
parentd73b534f681bfd51eb396e70236a752ea2dc9cfd (diff)
Remove calling the counter module with 'new'
Diffstat (limited to 'src/modules/game.js')
-rw-r--r--src/modules/game.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/game.js b/src/modules/game.js
index 1257d90..b849124 100644
--- a/src/modules/game.js
+++ b/src/modules/game.js
@@ -15,7 +15,7 @@ export default class Game {
this.firingArc = FiringArc(svg, board);
this.sightLine = SightLine(board);
- this.counter = new Counter(svg);
+ this.counter = Counter(svg, board);
this.setUpCells();