Start a named draw group from an empty hold, and state the decision's goal and cost exactly

This commit is contained in:
2026-09-28 18:53:47 +02:00
committed by Lillem4n
parent 1b9cf00a26
commit a1852076fe
3 changed files with 7 additions and 11 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ func (sc renderScope) hold() *hold {
if sc.set.named == nil {
sc.set.named = map[string]*hold{}
}
d = &hold{variant: map[string]node{}, value: map[string]readValue{}}
d = &hold{}
sc.set.named[strings.Clone(sc.group)] = d
}
return d