File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/bevy_ecs/src/schedule Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -562,12 +562,12 @@ impl SystemStage {
562
562
}
563
563
}
564
564
565
- /// All system and component change ticks are scanned for risk of delta overflow once the world
566
- /// counter has incremented at least [`CHECK_TICK_THRESHOLD`](crate::change_detection::CHECK_TICK_THRESHOLD)
565
+ /// All system and component change ticks are scanned once the world counter has incremented
566
+ /// at least [`CHECK_TICK_THRESHOLD`](crate::change_detection::CHECK_TICK_THRESHOLD)
567
567
/// times since the previous `check_tick` scan.
568
568
///
569
569
/// During each scan, any change ticks older than [`MAX_CHANGE_AGE`](crate::change_detection::MAX_CHANGE_AGE)
570
- /// are clamped to that difference, preventing potential false positives due to overflow.
570
+ /// are clamped to that age. This prevents false positives from appearing due to overflow.
571
571
fn check_change_ticks ( & mut self , world : & mut World ) {
572
572
let change_tick = world. change_tick ( ) ;
573
573
let ticks_since_last_check = change_tick. wrapping_sub ( self . last_tick_check ) ;
You can’t perform that action at this time.
0 commit comments