bevy icon indicating copy to clipboard operation
bevy copied to clipboard

Refactor command application for more consistency

Open james-j-obrien opened this issue 9 months ago • 0 comments

Objective

  • Prevent the case where a hook/observer is triggered but the source entity/component no longer exists

Solution

  • Re-order command application such that all hooks/observers that are notified will run before any have a chance to invalidate the result.

Testing

Updated relevant tests in bevy_ecs, all other tests pass.

james-j-obrien avatar May 05 '24 21:05 james-j-obrien