Parse (but don't return) instances

This commit is contained in:
Dan Jones 2025-05-02 16:40:46 -05:00
commit d55c680ec4
3 changed files with 14 additions and 7 deletions

View file

@ -26,7 +26,7 @@ func (m *Merger) Write(ctx context.Context, g Game) (out string, err error) {
gz.Comment = "merge by ic-merge"
if g.Instances == nil {
g.Instances = make([]any, 0)
g.Instances = make([]Instance, 0)
}
enc := json.NewEncoder(gz)