Fix hanging on scene creation

Invoke `SceneScriptManager#init` in a thread.
This commit is contained in:
KingRainbow44
2023-04-11 23:11:23 -04:00
parent 7bac95098a
commit b0ab0c68ad

View File

@@ -98,7 +98,7 @@ public class SceneScriptManager {
}
// Create
this.init();
new Thread(this::init).start();
}
public Scene getScene() {