mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-09 15:29:32 +07:00
Resolved #1598 - we now save map options for new games started
This commit is contained in:
10
build.gradle
10
build.gradle
@ -3,11 +3,11 @@ buildscript {
|
||||
ext.kotlinVersion = '1.3.50'
|
||||
|
||||
repositories {
|
||||
// Chinese mirrors for quicker loading for chinese devs
|
||||
maven{ url 'https://maven.aliyun.com/repository/jcenter'}
|
||||
maven{ url 'https://maven.aliyun.com/repository/google'}
|
||||
maven{ url 'https://maven.aliyun.com/repository/gradle-plugin'}
|
||||
maven{ url 'https://maven.aliyun.com/repository/public'}
|
||||
// Chinese mirrors for quicker loading for chinese devs - uncomment if you're chinese
|
||||
// maven{ url 'https://maven.aliyun.com/repository/jcenter'}
|
||||
// maven{ url 'https://maven.aliyun.com/repository/google'}
|
||||
// maven{ url 'https://maven.aliyun.com/repository/gradle-plugin'}
|
||||
// maven{ url 'https://maven.aliyun.com/repository/public'}
|
||||
google()
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
|
@ -25,6 +25,7 @@ class TileMap {
|
||||
fun clone(): TileMap {
|
||||
val toReturn = TileMap()
|
||||
toReturn.tileList.addAll(tileList.map { it.clone() })
|
||||
toReturn.mapParameters = mapParameters
|
||||
return toReturn
|
||||
}
|
||||
|
||||
|
@ -223,6 +223,7 @@ class NewGameScreenOptionsTable(val newGameScreen: NewGameScreen, val updatePlay
|
||||
fun addModCheckboxes() {
|
||||
|
||||
val modFolders = Gdx.files.local("mods")
|
||||
if(!modFolders.exists()) return
|
||||
val loadableMods = ArrayList<Ruleset>()
|
||||
|
||||
for (modFolder in modFolders.list()) {
|
||||
|
Reference in New Issue
Block a user