diff --git a/core/src/com/unciv/logic/automation/ConstructionAutomation.kt b/core/src/com/unciv/logic/automation/ConstructionAutomation.kt index a33a7cf175..3ffd464bdb 100644 --- a/core/src/com/unciv/logic/automation/ConstructionAutomation.kt +++ b/core/src/com/unciv/logic/automation/ConstructionAutomation.kt @@ -122,9 +122,9 @@ class ConstructionAutomation(val cityConstructions: CityConstructions){ .filter { it.isWater && it.hasViewableResource(civInfo) && it.improvement == null }.toList() if (tilesThatNeedWorkboat.isEmpty()) return - // If we can't reach the tile we need to improve within 10 turns, it's probably unreachable. + // If we can't reach the tile we need to improve within 15 tiles, it's probably unreachable. val bfs = BFS(cityInfo.getCenterTile()) { (it.isWater || it.isCityCenter()) && it.isFriendlyTerritory(civInfo) } - for (i in 1..10) { + for (i in 1..15) { bfs.nextStep() if (tilesThatNeedWorkboat.any { bfs.hasReachedTile(it) }) break diff --git a/core/src/com/unciv/ui/pickerscreens/ModManagementScreen.kt b/core/src/com/unciv/ui/pickerscreens/ModManagementScreen.kt index b34add5d25..cd90a8d30f 100644 --- a/core/src/com/unciv/ui/pickerscreens/ModManagementScreen.kt +++ b/core/src/com/unciv/ui/pickerscreens/ModManagementScreen.kt @@ -39,6 +39,7 @@ class ModManagementScreen: PickerScreen() { Gdx.app.postRunnable { for (repo in repoList) { + if (repo.default_branch != "master") continue repo.name = repo.name.replace('-', ' ') val downloadButton = repo.name.toTextButton() downloadButton.onClick { diff --git a/core/src/com/unciv/ui/worldscreen/mainmenu/DropBox.kt b/core/src/com/unciv/ui/worldscreen/mainmenu/DropBox.kt index 95540350f7..848f255e4a 100644 --- a/core/src/com/unciv/ui/worldscreen/mainmenu/DropBox.kt +++ b/core/src/com/unciv/ui/worldscreen/mainmenu/DropBox.kt @@ -188,6 +188,7 @@ object Github { var description = "" var svn_url = "" var stargazers_count = 0 + var default_branch = "" } }