This commit is contained in:
2023-04-20 14:31:03 +08:00
parent e30df8bdbc
commit fdb4ab55a3

View File

@@ -586,7 +586,6 @@ namespace Cryville.Crtr {
}
void LoadChart(LoadInfo info) {
DirectoryInfo dir = info.chartFile.Directory;
Logger.Log("main", 0, "Load/WorkerThread", "Loading chart: {0}", info.chartFile);
motionRegistry = new Dictionary<Identifier, MotionRegistry> {
@@ -629,7 +628,7 @@ namespace Cryville.Crtr {
}
Logger.Log("main", 0, "Load/WorkerThread", "Attaching handlers"); loadPregress = .40f;
var ch = new ChartHandler(chart, dir);
var ch = new ChartHandler(chart);
cbus.RootState.AttachHandler(ch);
foreach (var gs in cbus.RootState.Children) {
var gh = new GroupHandler((Chart.Group)gs.Key, ch);