mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-18 22:44:04 +09:00
fixed a bug where list of savefiles won't sort by last play date
This commit is contained in:
@@ -688,7 +688,8 @@ fun AppUpdateListOfSavegames() {
|
||||
e.printStackTrace()
|
||||
null
|
||||
}
|
||||
}.filter { it != null }.sortedByDescending { (it as VirtualDisk).entries[0]!!.modificationDate }.forEach {
|
||||
}.filter { it != null && it.entries.contains(-1) }
|
||||
.sortedByDescending { (it as VirtualDisk).entries[-1]!!.modificationDate }.forEach {
|
||||
App.savegames.add(it!!)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user