From 587ab64dfe0ba618d726d5b359056e5cef6f2790 Mon Sep 17 00:00:00 2001 From: Dan Kov Date: Sat, 8 Oct 2022 14:51:21 +0000 Subject: [PATCH] Fix doc for Timer::percent_left (#6198) # Objective - Fix a mistake in documentation. --- crates/bevy_time/src/timer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_time/src/timer.rs b/crates/bevy_time/src/timer.rs index f94fbac76a2006..4661bbeae9ea7f 100644 --- a/crates/bevy_time/src/timer.rs +++ b/crates/bevy_time/src/timer.rs @@ -328,7 +328,7 @@ impl Timer { self.elapsed().as_secs_f32() / self.duration().as_secs_f32() } - /// Returns the percentage of the timer remaining time (goes from 0.0 to 1.0). + /// Returns the percentage of the timer remaining time (goes from 1.0 to 0.0). /// /// # Examples /// ```