Skip to content

Commit 5fe0abf

Browse files
authored
Merge pull request #18773 from johndoknjas/pgn-import-from-a-position
Fix pgn import from a position
2 parents c06fd78 + 66bf23a commit 5fe0abf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/analyse/src/pgnImport.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export default function (pgn: string): Partial<AnalyseData> {
6767
return {
6868
game: {
6969
fen,
70+
initialFen: fen,
7071
id: 'synthetic',
7172
opening: undefined, // TODO
7273
player: start.turn,

0 commit comments

Comments
 (0)