diff --git a/src/main/java/com/github/bhlangonijr/chesslib/pgn/GameLoader.java b/src/main/java/com/github/bhlangonijr/chesslib/pgn/GameLoader.java index e5be205..1834073 100644 --- a/src/main/java/com/github/bhlangonijr/chesslib/pgn/GameLoader.java +++ b/src/main/java/com/github/bhlangonijr/chesslib/pgn/GameLoader.java @@ -200,6 +200,7 @@ public static Game loadNextGame(Iterator iterator) { } break; case "variation": + case "variant": if (game != null) { game.setVariation(p.value); } @@ -279,4 +280,4 @@ private static void setMoveText(Game game, StringBuilder moveText) throws Except game.setPlyCount(game.getHalfMoves().size() + ""); } -} \ No newline at end of file +}