mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-10 22:03:03 +08: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
|
// Create
|
||||||
this.init();
|
new Thread(this::init).start();
|
||||||
}
|
}
|
||||||
|
|
||||||
public Scene getScene() {
|
public Scene getScene() {
|
||||||
|
Loading…
Reference in New Issue
Block a user