pong: fix missing parenthesis

This commit is contained in:
Trimutex 2024-12-27 10:29:58 -06:00
parent eb060589fe
commit 39380d76af

View File

@ -237,7 +237,7 @@ class PongCore {
// draw dotted line down the middle
for (let i = this.grid; i < this.canvas.height - this.grid; i += this.grid * 2) {
this.fillRect(new Box(this.canvas.width / 2 - this.grid / 2, i, this.grid, this.grid);
this.fillRect(new Box(this.canvas.width / 2 - this.grid / 2, i, this.grid, this.grid));
}
}