Resolved #1598 - we now save map options for new games started
This commit is contained in:
parent
52165e692f
commit
73816dd470
3 changed files with 7 additions and 5 deletions
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()) {
|
||||
|
|
Loading…
Reference in a new issue