mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-10 02:24:05 +09:00
save/load kinda mostly working but fixtures are not getting their sprites back
This commit is contained in:
@@ -9,6 +9,7 @@ import net.torvald.util.CircularArray
|
||||
|
||||
open class LoadScreenBase : ScreenAdapter(), Disposable {
|
||||
|
||||
open var preLoadJob: (LoadScreenBase) -> Unit = {}
|
||||
open var screenToLoad: IngameInstance? = null
|
||||
open lateinit var screenLoadingThread: Thread
|
||||
|
||||
@@ -33,6 +34,7 @@ open class LoadScreenBase : ScreenAdapter(), Disposable {
|
||||
else {
|
||||
val runnable = {
|
||||
try {
|
||||
preLoadJob(this)
|
||||
screenToLoad!!.show()
|
||||
}
|
||||
catch (e: Exception) {
|
||||
|
||||
Reference in New Issue
Block a user