Fix typo
This commit is contained in:
parent
367a2bc428
commit
b33eaefd02
|
@ -126,7 +126,7 @@ function sanitize(state) {
|
||||||
const i = t[0].x + n - 0.5
|
const i = t[0].x + n - 0.5
|
||||||
const j = t[0].y + n - 0.5
|
const j = t[0].y + n - 0.5
|
||||||
const oi = i + direction.x
|
const oi = i + direction.x
|
||||||
const oj = i + direction.y
|
const oj = j + direction.y
|
||||||
const oti = state.board[oj][oi]
|
const oti = state.board[oj][oi]
|
||||||
if (oti === undefined) {
|
if (oti === undefined) {
|
||||||
// no neighbour
|
// no neighbour
|
||||||
|
|
Loading…
Reference in New Issue