mirror of
https://github.com/bevyengine/bevy
synced 2024-11-14 00:47:32 +00:00
d3e426e86f
# Objective When working on #7750 I noticed that `CoreSchedule::Main` was explicitly used to get the schedule for the `OnUpdate` set. This can lead to failures or weird behavior if `add_state` is used with a differently configured `default_schedule_label`, because the other systems are added to the default schedule. This PR fixes that. ## Solution Use `default_schedule_label` to retrieve a single schedule to which all systems are added. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |