mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-26 15:39:37 +00:00
Fix hanging on scene creation
Invoke `SceneScriptManager#init` in a thread.
This commit is contained in:
parent
7bac95098a
commit
b0ab0c68ad
@ -98,7 +98,7 @@ public class SceneScriptManager {
|
||||
}
|
||||
|
||||
// Create
|
||||
this.init();
|
||||
new Thread(this::init).start();
|
||||
}
|
||||
|
||||
public Scene getScene() {
|
||||
|
Loading…
Reference in New Issue
Block a user