mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-17 09:25:06 +01:00
Fix hanging on scene creation
Invoke `SceneScriptManager#init` in a thread.
This commit is contained in:
@@ -98,7 +98,7 @@ public class SceneScriptManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Create
|
// Create
|
||||||
this.init();
|
new Thread(this::init).start();
|
||||||
}
|
}
|
||||||
|
|
||||||
public Scene getScene() {
|
public Scene getScene() {
|
||||||
|
|||||||
Reference in New Issue
Block a user