Code cleanup.

This commit is contained in:
2023-04-20 19:47:10 +08:00
parent d86da00258
commit 0699bc5614
2 changed files with 4 additions and 3 deletions

View File

@@ -443,7 +443,7 @@ namespace Cryville.Crtr.Event {
else {
var target = value.GetRelativeNode(tev.Node.Id);
if (target == null) value.SetRelativeNode(tev.Node);
else tev.Node.LerpWith(m.Value.GetRelativeNode(tev.Node.Id), transition, ref target);
else tev.Node.LerpWith(start, transition, ref target);
}
}
else {