more readable g force display
This commit is contained in:
parent
b72a596559
commit
0b0fd5664d
|
@ -515,7 +515,7 @@ fn update_hud(
|
||||||
text.sections[11].value = format!("{adrenaline:.0}pg/mL");
|
text.sections[11].value = format!("{adrenaline:.0}pg/mL");
|
||||||
let vitals = 100.0 * hp.current / hp.max;
|
let vitals = 100.0 * hp.current / hp.max;
|
||||||
let gforce = gforce.gforce;
|
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();
|
let all_actors = query_all_actors.iter().len();
|
||||||
text.sections[15].value = format!("{all_actors:.0}");
|
text.sections[15].value = format!("{all_actors:.0}");
|
||||||
let integrity = suit.integrity * 100.0;
|
let integrity = suit.integrity * 100.0;
|
||||||
|
|
Loading…
Reference in a new issue