Skip to content

Commit f108503

Browse files
authored
Merge pull request #3809 from ikemen-engine/fix
fix: remove garbage motif inheritance keys
2 parents dfabfe5 + aab8b44 commit f108503

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/motif.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2158,6 +2158,7 @@ func (m *Motif) mergeWithInheritance(specs []InheritSpec) {
21582158
query := strings.ToLower(secPath + "." + dstKey)
21592159
if err := m.SetValueUpdate(query, val); err != nil {
21602160
//fmt.Printf("Warning: inheritance set failed for %s = %q: %v\n", query, val, err)
2161+
continue
21612162
}
21622163

21632164
// Remember only anim/spr values that were actually inherited into the destination.

0 commit comments

Comments
 (0)