From 0b0fd5664d9af774b4cdc0883ff9818f78f880a6 Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 8 Apr 2024 03:05:46 +0200 Subject: [PATCH] more readable g force display --- src/hud.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hud.rs b/src/hud.rs index c7b6ace..a7f4cd0 100644 --- a/src/hud.rs +++ b/src/hud.rs @@ -515,7 +515,7 @@ fn update_hud( text.sections[11].value = format!("{adrenaline:.0}pg/mL"); let vitals = 100.0 * hp.current / hp.max; let gforce = gforce.gforce; - text.sections[13].value = format!("{vitals:.0}% [{gforce}g]"); + text.sections[13].value = format!("{vitals:.0}% [{gforce:.1}g]"); let all_actors = query_all_actors.iter().len(); text.sections[15].value = format!("{all_actors:.0}"); let integrity = suit.integrity * 100.0;