mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-17 05:54:05 +09:00
saving performed on separate thread so that save-in-progress UI would work
This commit is contained in:
@@ -679,6 +679,7 @@ class Codex : KVHashMap() {
|
||||
}
|
||||
|
||||
fun AppUpdateListOfSavegames() {
|
||||
App.savegames.clear()
|
||||
File(App.defaultSaveDir).listFiles().filter { !it.isDirectory && !it.name.contains('.') }.map { file ->
|
||||
try {
|
||||
VDUtil.readDiskArchive(file, charset = Common.CHARSET)
|
||||
|
||||
Reference in New Issue
Block a user