EcsRx / ecsrx

A reactive take on the ECS pattern for .net game developers
MIT License
520 stars 36 forks source link

Added tests and tracking logic for removal before additions finished #40

Closed grofit closed 1 year ago

grofit commented 1 year ago

This exhibits in situations where one tracker kicks off some logic in a system which removes the entity, but other trackers are yet to run their add code but have fired their remove code already, so we basically do the same fix where we check for this then exit if needed as we no longer need to setup.