mirror of
https://github.com/bevyengine/bevy
synced 2024-11-25 22:20:20 +00:00
cd694c0d08
# Objective As described in #4257, registering an Event twice would cause some systems to miss events on some starts, since the event buffer is cleared + swapped multiple times. Fixes #4257 ## Solution A simple check whether the event is already registered is added, making adding an Event a second time a no-op. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |