pong: fix missing parenthesis
This commit is contained in:
parent
eb060589fe
commit
39380d76af
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user