mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-16 17:05:20 +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
|
||||
this.init();
|
||||
new Thread(this::init).start();
|
||||
}
|
||||
|
||||
public Scene getScene() {
|
||||
|
||||
Reference in New Issue
Block a user