diff --git a/crates/bevy_time/src/stopwatch.rs b/crates/bevy_time/src/stopwatch.rs index c2ecfb2f62..352749848d 100644 --- a/crates/bevy_time/src/stopwatch.rs +++ b/crates/bevy_time/src/stopwatch.rs @@ -129,7 +129,7 @@ impl Stopwatch { /// ``` pub fn tick(&mut self, delta: Duration) -> &Self { if !self.paused() { - self.elapsed += delta; + self.elapsed = self.elapsed.saturating_add(delta); } self }