zakarumych / edict

Other
82 stars 6 forks source link

Entity dereferencing doesn't care about component version and chunk version #2

Closed akhilman closed 2 years ago

akhilman commented 2 years ago

The last component version should be moved as the component itself. The chunk version should be set to the maximum of the target chunk version and the version of the moved component.

https://github.com/zakarumych/edict/blob/6af94e10e9eab16c8c6d6a81e7db1bf8c7556ed9/src/archetype.rs#L480