skip check change tick for apply_deferred systems (#8760)
# Objective - Fixes https://github.com/bevyengine/bevy/issues/8410 ## Solution - Skip the check that produces the warning for apply_buffers systems. --- ## Changelog - skip check_change_ticks for apply_buffers systems.
This commit is contained in:
parent
8b9d88f4d0
commit
0a90bac4f4
@ -271,7 +271,9 @@ impl Schedule {
|
||||
/// This prevents overflow and thus prevents false positives.
|
||||
pub(crate) fn check_change_ticks(&mut self, change_tick: Tick) {
|
||||
for system in &mut self.executable.systems {
|
||||
system.check_change_tick(change_tick);
|
||||
if !is_apply_deferred(system) {
|
||||
system.check_change_tick(change_tick);
|
||||
}
|
||||
}
|
||||
|
||||
for conditions in &mut self.executable.system_conditions {
|
||||
|
Loading…
Reference in New Issue
Block a user