We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a9073b commit c63c690Copy full SHA for c63c690
plugin/src/main/kotlin/sc/plugin2022/GameState.kt
@@ -49,7 +49,7 @@ data class GameState @JvmOverloads constructor(
49
}
50
51
val isOver
52
- get() = round > Constants.ROUND_LIMIT || ambers.any { it.value >= 2 }
+ get() = round > Constants.ROUND_LIMIT || (ambers.any { it.value >= 2 } && turn % 2 == 0)
53
54
/** Berechne die Punkteanzahl für das gegebene Team. */
55
override fun getPointsForTeam(team: ITeam): Int =
0 commit comments