Skip to content

Commit

Permalink
fix relay update should match only one chapter to each game
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Feb 18, 2025
1 parent 01074f1 commit fd60797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/relay/src/main/RelayUpdatePlan.scala
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ object RelayUpdatePlan:
val tagMatches: List[(RelayGame, Chapter)] =
games
.flatMap: game =>
chapters.collect:
chapters.collectFirst:
case chapter if game.isSameGame(chapter.tags) => game -> chapter
.toList

Expand Down

0 comments on commit fd60797

Please sign in to comment.