This commit is contained in:
Maciej Caderek
2022-02-01 00:10:10 +01:00
parent 013796a2ed
commit 2859a2348d
2 changed files with 3 additions and 1 deletions

View File

@@ -63,7 +63,7 @@ const main = async () => {
const player = new Player(board, gameConfig);
const game = new Game().loadPGN(pgn);
const moves = new Moves($moves as HTMLElement, player).load(game.getMoves());
new Moves($moves as HTMLElement, player).load(game.getMoves());
// @ts-ignore
window.game = game;