diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bc451d16..c3f1fbe00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ The version should always be in sync with the [GUI](https://github.com/software- ### 24.2.X - 2023-10-XX - Crash oversped ships - Allow other player to move on when one is disqualified -- + ### 24.1.2 Stable Release - 2023-09-20 ### 24.1.1 Helper Adjustments - 2023-09-14 diff --git a/gradle.properties b/gradle.properties index bd46efb4e..5360288a6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ socha.gameName=mississippi socha.version.year=24 socha.version.minor=01 -socha.version.patch=02 \ No newline at end of file +socha.version.patch=03 \ No newline at end of file diff --git a/sdk/src/main/server-api/sc/api/plugins/IGameState.kt b/sdk/src/main/server-api/sc/api/plugins/IGameState.kt index 0d5c8a3bb..5696b5e22 100644 --- a/sdk/src/main/server-api/sc/api/plugins/IGameState.kt +++ b/sdk/src/main/server-api/sc/api/plugins/IGameState.kt @@ -40,6 +40,7 @@ interface IGameState: RoomMessage, PublicCloneable { /** Das Team, welches das Spiel eröffnet. */ val startTeam: ITeam + get() = Team.ONE /** Ob das Spiel zu Ende ist. */ val isOver: Boolean diff --git a/server/src/test/java/sc/server/plugins/TestGameState.kt b/server/src/test/java/sc/server/plugins/TestGameState.kt index 30d8bd4e8..fc65aecc3 100644 --- a/server/src/test/java/sc/server/plugins/TestGameState.kt +++ b/server/src/test/java/sc/server/plugins/TestGameState.kt @@ -10,6 +10,7 @@ data class TestGameState( override var turn: Int = 0, var state: Int = 0, ): IGameState { + override val currentTeam: Team get() = Team.values()[turn % Team.values().size]