summaryrefslogtreecommitdiff
path: root/sw-engine/src/main/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'sw-engine/src/main/kotlin')
-rw-r--r--sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt b/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt
index b79fd381..8a5c1d93 100644
--- a/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt
+++ b/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt
@@ -171,7 +171,7 @@ class Game internal constructor(
private fun executeEndOfAgeEvents() = table.resolveMilitaryConflicts()
- private fun endOfGameReached(): Boolean = endOfAgeReached() && table.currentAge == LAST_AGE
+ fun endOfGameReached(): Boolean = endOfAgeReached() && table.currentAge == LAST_AGE
private fun rotateHandsIfRelevant() {
// we don't rotate hands if some player can play his last card (with the special ability)
bgstack15