diff --git a/src/hud.rs b/src/hud.rs index 238a5e5..08e102d 100644 --- a/src/hud.rs +++ b/src/hud.rs @@ -188,6 +188,15 @@ fn setup( ..default() } ), + TextSection::new( + "\n雌激素水平 172pg/mL", + TextStyle { + font: asset_server.load(FONT), + font_size: settings.font_size_hud, + color: Color::GRAY, + ..default() + }, + ), TextSection::new( "\nProximity 警告 ", TextStyle { @@ -324,7 +333,7 @@ fn update( let adrenaline = lifeform.adrenaline * 990.0 + 10.0; text.sections[7].value = format!("{adrenaline:.0}pg/mL"); let all_actors = query_all_actors.iter().len(); - text.sections[9].value = format!("{all_actors:.0}"); + text.sections[10].value = format!("{all_actors:.0}"); } }