aboutsummaryrefslogtreecommitdiffstats
path: root/src/client.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.rs')
-rw-r--r--src/client.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.rs b/src/client.rs
index 6d8b296..b4213a2 100644
--- a/src/client.rs
+++ b/src/client.rs
@@ -678,7 +678,7 @@ fn health_indicator_spawn(
screen_position += Vec2::new(12.5, -12.5);
commands.spawn((
TextBundle::from_section(
- format!("{health_gained_or_lost}"),
+ format!("{health_gained_or_lost:.0}"),
TextStyle {
font_size: 6.,
color: if *health_gained < 0. {