From fe89308a940c49cb150c60e59e34d3a24be5e177 Mon Sep 17 00:00:00 2001 From: hut Date: Wed, 24 Apr 2024 03:49:26 +0200 Subject: [PATCH] hide player coordinate in dev mode --- src/hud.rs | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/hud.rs b/src/hud.rs index bfa9370..3c420a6 100644 --- a/src/hud.rs +++ b/src/hud.rs @@ -477,14 +477,15 @@ fn update_hud( } } - let dev_speed = if settings.dev_mode { - let x = pos.x; - let y = pos.y; - let z = pos.z; - format!("\n{x:.0}\n{y:.0}\n{z:.0}") - } else { - "".to_string() - }; +// let dev_speed = if settings.dev_mode { +// let x = pos.x; +// let y = pos.y; +// let z = pos.z; +// format!("\n{x:.0}\n{y:.0}\n{z:.0}") +// } else { +// "".to_string() +// }; + let dev_speed = ""; let gforce = gforce.gforce; let speed = cam_v.length(); let speed_readable = nature::readable_distance(speed);