Logic cleanup.

This commit is contained in:
2022-11-19 10:49:52 +08:00
parent 5eb9786a7c
commit 1734cf9b72
2 changed files with 12 additions and 16 deletions

View File

@@ -114,11 +114,7 @@ namespace Cryville.Crtr {
}
public override Transform Match(ContainerState h, Transform a, Transform ot = null) {
ChartPlayer.etor.ContextTransform = a;
ChartPlayer.etor.ContextEvent = h.Container;
ChartPlayer.etor.ContextState = h;
ChartPlayer.etor.Evaluate(_op, _exp);
ChartPlayer.etor.ContextState = null;
ChartPlayer.etor.ContextEvent = null;
ChartPlayer.etor.ContextTransform = null;
return _flag ? a : null;
}