Skip to content

Commit bd5a7cb

Browse files
authored
Merge pull request #253 from mcdemarco/develop
"Fix build error" The test didn't pick anything up before my previous merge, and only seems to be detecting the old error now, so merging.
2 parents 0d51489 + c20280e commit bd5a7cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/games/deckfish.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ export class DeckfishGame extends GameBase {
343343

344344
private populateTableau(): number[][] {
345345
//Abstract the data structure to only what is needed for movement.
346-
let tableau = new Array(columns).fill(-1).map(() => new Array(rows).fill(-1));
346+
const tableau = new Array(columns).fill(-1).map(() => new Array(rows).fill(-1));
347347
for (let x = 0; x < columns; x++) {
348348
for (let y = 0; y < rows; y++) {
349349
//The tableau was initialized to all -1's (gaps).

0 commit comments

Comments
 (0)