From ef885b91c2b08af27f5a6dca4172f0ed03677b66 Mon Sep 17 00:00:00 2001
From: Catalin Mititiuc
Date: Sat, 27 Apr 2024 09:06:57 -0700
Subject: Remove calling the counter module with 'new'
---
src/modules/game.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'src/modules/game.js')
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();
--
cgit v1.2.3