newer map data format

This commit is contained in:
minjaesong
2018-10-02 21:10:02 +09:00
parent 82a71dae66
commit 2b3252beff
2 changed files with 53 additions and 46 deletions

View File

@@ -72,18 +72,16 @@ object LoadScreen : ScreenAdapter() {
println("[LoadScreen] Screen to load is not set. Are you testing the UI?")
}
else {
val runnable = object : Runnable {
override fun run() {
try {
screenToLoad!!.show()
}
catch (e: Exception) {
addMessage("$ccR$e")
errorTrapped = true
val runnable = {
try {
screenToLoad!!.show()
}
catch (e: Exception) {
addMessage("$ccR$e")
errorTrapped = true
System.err.println("Error while loading:")
e.printStackTrace()
}
System.err.println("Error while loading:")
e.printStackTrace()
}
}
screenLoadingThread = Thread(runnable, "LoadScreen GameLoader")