teleporter: list loading on separate thread

This commit is contained in:
minjaesong
2023-09-08 18:51:53 +09:00
parent cc55e563f0
commit d5a8d098bb
2 changed files with 73 additions and 32 deletions

View File

@@ -550,7 +550,7 @@ object ModMgr {
if (iconFile.exists()) {
val iconSheet = TextureRegionPack(iconFile.path, 20, 20)
val iconPixmap = Pixmap(Gdx.files.internal(iconFile.path))
val iconPixmap = Pixmap(Gdx.files.absolute(iconFile.path))
for (k in 0 until iconPixmap.height step 20) {
val langCode = StringBuilder()
for (c in 0 until 20) {