diff --git a/src/utils/chess.ts b/src/utils/chess.ts index 8f912ea6..dcbabbba 100644 --- a/src/utils/chess.ts +++ b/src/utils/chess.ts @@ -220,6 +220,7 @@ export function getPGN( pgn += headersToPGN(headers); } if (root && tree.fen !== DEFAULT_POSITION) { + pgn += '[SetUp "1"]\n' pgn += '[FEN "' + tree.fen + '"]\n'; } pgn += "\n";