From 40805e977537e31ab54c005d7737348238dbe413 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Wed, 6 Jan 2021 23:37:10 +0100 Subject: [PATCH] Show correct speed in hud --- src/hud.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/hud.rs b/src/hud.rs index 8ce8305..0b01bca 100644 --- a/src/hud.rs +++ b/src/hud.rs @@ -34,15 +34,17 @@ fn speed_update_system( rigid_body_set: Res, mut text_query: Query<&mut Text, With>, player_query: Query<&RigidBodyHandleComponent, With>, + time: Res