JaimeGensler / thyseus

An archetypal Entity Component System, built entirely in Typescript
MIT License
74 stars 3 forks source link

[BUG] Using addType doesn't always copy data correctly #28

Closed JaimeGensler closed 1 year ago

JaimeGensler commented 1 year ago

Depending on order of components, data may not be copied correctly 😬

Thyseus Version (e.g. v0.9.0) 0.12.0

Bundler / Build Tool (e.g. Vite, Webpack) All

Environment & Version (e.g. \<browser> \<version>, Node \<version>) All

Reproduction URL (optional)

Bug Description