add * result in study PGN export - closes #3123
This commit is contained in:
parent
b9065bbeae
commit
d0a5204c56
|
@ -61,7 +61,8 @@ final class PgnDump(
|
|||
Tag(_.Date, dateFormat.print(chapter.createdAt)),
|
||||
Tag(_.Variant, chapter.setup.variant.name.capitalize),
|
||||
Tag(_.ECO, opening.fold("?")(_.eco)),
|
||||
Tag(_.Opening, opening.fold("?")(_.name))
|
||||
Tag(_.Opening, opening.fold("?")(_.name)),
|
||||
Tag(_.Result, "*") // required for SCID to import
|
||||
) ::: List(annotatorTag(study)) ::: (chapter.root.fen.value != Forsyth.initial).??(List(
|
||||
Tag(_.FEN, chapter.root.fen.value),
|
||||
Tag("SetUp", "1")
|
||||
|
|
Loading…
Reference in a new issue