mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-14 12:34:05 +09:00
and now fa and fis works the same? wtf?
This commit is contained in:
@@ -788,6 +788,7 @@ fun AppUpdateListOfSavegames() {
|
||||
|
||||
println("Listing saved worlds...")
|
||||
|
||||
|
||||
// create list of worlds
|
||||
File(worldsDir).listFiles().filter { !it.isDirectory && !it.name.contains('.') }.mapNotNull { file ->
|
||||
try {
|
||||
@@ -834,7 +835,7 @@ fun AppUpdateListOfSavegames() {
|
||||
null
|
||||
}
|
||||
}.sortedByDescending { it.getLastModifiedTime() }.forEachIndexed { index, it ->
|
||||
// println("${index+1}.\t${it.diskFile.absolutePath}")
|
||||
println("${index+1}.\t${it.diskFile.absolutePath}")
|
||||
// it.rebuild()
|
||||
|
||||
// val jsonFile = it.getFile(SAVEGAMEINFO)!!
|
||||
@@ -854,6 +855,11 @@ fun AppUpdateListOfSavegames() {
|
||||
}
|
||||
}
|
||||
|
||||
println("SortedPlayers...")
|
||||
App.sortedPlayers.forEach {
|
||||
println(it)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user