Skip to content

Commit

Permalink
Fix Alice editor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gbtami committed Nov 13, 2024
1 parent 3562115 commit cab3cef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/editor/editorCtrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ export class EditorController extends ChessgroundController {
const pieces = this.chessground.state.boardState.pieces;
const otherBoardPieces = [...pieces].filter(([_, v]) => v.promoted).map(e => e[0]);
this.fullfen = getFullFenFromUnionFen(this.fullfen, otherBoardPieces);
this.parts = this.fullfen.split(' ');
}

const e = document.getElementById('fen') as HTMLInputElement;
Expand Down

0 comments on commit cab3cef

Please sign in to comment.