diff --git a/core/src/com/unciv/logic/automation/NextTurnAutomation.kt b/core/src/com/unciv/logic/automation/NextTurnAutomation.kt index 7a66f73124..5ce05fef6d 100644 --- a/core/src/com/unciv/logic/automation/NextTurnAutomation.kt +++ b/core/src/com/unciv/logic/automation/NextTurnAutomation.kt @@ -199,6 +199,10 @@ class NextTurnAutomation{ .flatMap { it.policies.union(listOf(it)) } .filter { civInfo.policies.isAdoptable(it) } + // This can happen if the player is crazy enough to have the game continue forever and he disabled cultural victory + if(adoptablePolicies.isEmpty()) return + + val preferredVictoryType = civInfo.victoryType() val policyBranchPriority = when(preferredVictoryType) {