Skip to content

Commit

Permalink
release: v24.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xeruf committed Sep 11, 2023
1 parent 0360fea commit ffd86e8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The version should always be in sync with the [GUI](https://github.com/software-
A `y` version of 0 marks the beta of the current year
and likely contains breaking changes between patches.

### 24.0.9 All The Moves - 2023-09-XX
### 24.1.0 New Helpers - 2023-09-11
- Add a few helpers

### 24.0.8 All The Moves - 2023-09-04
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
socha.gameName=mississippi
socha.version.year=24
socha.version.minor=00
socha.version.patch=08
socha.version.minor=01
socha.version.patch=00
2 changes: 1 addition & 1 deletion plugin/src/main/kotlin/sc/plugin2024/Segment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ internal fun SegmentFields.alignPassengers(random: Random = Random): Boolean {
val result = shuffledIndices(CubeDirection.values().size, random = random)
.mapToObj { Field.PASSENGER(CubeDirection.values()[it], 1) }
.filter {
// TODO this rotation is relative now!
// this rotation is relative!
val target = Coordinates(x, y).localToCube() + it.direction.vector
get(target) == Field.WATER ||
(target.arrayX == -2 && target.r.absoluteValue < 3) // in front of a tile is always water
Expand Down

0 comments on commit ffd86e8

Please sign in to comment.