Pull skin container and judge attachment to handler.

This commit is contained in:
2022-11-19 22:02:05 +08:00
parent 1734cf9b72
commit 75652ecff1
3 changed files with 11 additions and 7 deletions

View File

@@ -508,7 +508,6 @@ namespace Cryville.Crtr {
throw new ArgumentException("Input config not completed\nPlease complete the input settings");
}
cbus.AttachSystems(pskin, judge);
Logger.Log("main", 0, "Load/WorkerThread", "Attaching handlers");
var ch = new ChartHandler(chart, dir);
cbus.RootState.AttachHandler(ch);
@@ -526,6 +525,7 @@ namespace Cryville.Crtr {
ts.Value.AttachHandler(th);
}
}
cbus.AttachSystems(pskin, judge);
Logger.Log("main", 0, "Load/WorkerThread", "Prehandling (iteration 1)");
using (var pbus = cbus.Clone(16)) {
pbus.Forward();