diff --git a/Assets/Cryville/Crtr/Event/ContainerState.cs b/Assets/Cryville/Crtr/Event/ContainerState.cs index 70c221a..1ab1c68 100644 --- a/Assets/Cryville/Crtr/Event/ContainerState.cs +++ b/Assets/Cryville/Crtr/Event/ContainerState.cs @@ -458,8 +458,8 @@ namespace Cryville.Crtr.Event { static readonly PropSrc _ttimesrc = new PropSrc.Float(() => _ttime); static readonly PropOp _transop = new PropOp.Vector4(v => _trans = v); Vector4 GetTransition(float time, PdtExpression transition) { - if (time >= 1 || transition == null) - return new Vector4(time, time, time, time); + if (time >= 1) return Vector4.one; + if (transition == null) return new Vector4(time, time, time, time); _ttime = time; _ttimesrc.Invalidate(); ChartPlayer.etor.ContextSelfValue = _ttimesrc;