Skip to content

Commit

Permalink
fix(plugin25): unshuffle second Salad
Browse files Browse the repository at this point in the history
Fixes #429
  • Loading branch information
xeruf committed Oct 18, 2024
1 parent 3fa6fce commit e71fcd2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions plugin2025/src/main/kotlin/sc/plugin2025/Board.kt
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,14 @@ class Board(
)

track.add(Field.HEDGEHOG)
track.addAll(
shuffledFields(
Field.POSITION_3,
Field.CARROTS,
Field.SALAD,
Field.POSITION_2,
)
val fields = shuffledFields(
Field.POSITION_3,
Field.CARROTS,
Field.POSITION_2,
)
track.addAll(fields.take(2))
track.add(Field.SALAD)
track.add(fields.last())

track.add(Field.HEDGEHOG)
track.addAll(
Expand Down

0 comments on commit e71fcd2

Please sign in to comment.