Skip to content

Commit

Permalink
fix: use fixed time correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
HeyZoos authored Nov 5, 2023
1 parent d7b8bf4 commit 1d0c285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/time/time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ fn print_real_time(time: Res<Time<Real>>) {
);
}

fn print_fixed_time(time: Res<Fixed>) {
fn print_fixed_time(time: Res<Time<Fixed>>) {
println!(
"FixedUpdate: this is generic time clock inside fixed, delta is {:?} and elapsed is {:?}",
time.delta(),
Expand Down

0 comments on commit 1d0c285

Please sign in to comment.