Skip to content

Commit

Permalink
Merge pull request #225 from oakmound/fix/entitiesmetadata
Browse files Browse the repository at this point in the history
entities/x: Allow actual metadata usage
  • Loading branch information
200sc authored Oct 6, 2024
2 parents bd67ddb + 99c5305 commit fd7958f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions entities/entity.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ func New(ctx *scene.Context, opts ...Option) *Entity {
Renderable: g.Renderable,
Speed: g.Speed,
Children: children,
metadata: map[string]string{},
}

if g.Renderable == nil && g.Color != nil {
Expand Down

0 comments on commit fd7958f

Please sign in to comment.