diff --git a/core/src/com/unciv/ui/worldscreen/mainmenu/DropBox.kt b/core/src/com/unciv/ui/worldscreen/mainmenu/DropBox.kt index 377677f753..3b935e55da 100644 --- a/core/src/com/unciv/ui/worldscreen/mainmenu/DropBox.kt +++ b/core/src/com/unciv/ui/worldscreen/mainmenu/DropBox.kt @@ -179,7 +179,8 @@ object Github { fun tryGetGithubReposWithTopic(): ArrayList { - val inputStream = download("https://api.github.com/search/repositories?q=topic:unciv-mod") + // Default per-page is 30 - when we get to above 100 mods, we'll need to start search-queries + val inputStream = download("https://api.github.com/search/repositories?q=topic:unciv-mod&per_page=100") if (inputStream == null) return ArrayList() return GameSaver.json().fromJson(RepoSearch::class.java, inputStream.bufferedReader().readText()).items }