and now fa and fis works the same? wtf?

This commit is contained in:
minjaesong
2023-07-08 03:33:02 +09:00
parent d507d84950
commit f95bc36c98
3 changed files with 94 additions and 38 deletions

View File

@@ -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)
}
}
/**