Restore PDT evaluator exception.

This commit is contained in:
2023-04-04 22:09:57 +08:00
parent c877437ab6
commit 0a25b5260d
3 changed files with 9 additions and 4 deletions

View File

@@ -88,6 +88,7 @@ namespace Cryville.Crtr {
if (p.Key.annotations.Contains("once")) {
stack.Properties.RemoveAt(i--);
}
if (p.Key.IsValueRequired && !p.Value.IsConstant && dl < 1) nstack.Properties.Add(p);
}
for (int i = 0; i < stack.Elements.Count; i++) {
DynamicElement e = stack.Elements[i];