diff options
author | Alexander Foremny <aforemny@posteo.de> | 2024-03-20 06:39:46 +0100 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2024-03-20 06:45:22 +0100 |
commit | 716bd0618308d6100556d1231b0b156f48c64778 (patch) | |
tree | 9ba09552391330c9bcee2b71d42928234b3ec6ea /src/client.rs | |
parent | 0165c47ea6c002c4eb177289ced5412b73273a25 (diff) |
feat: scale spear damage
Diffstat (limited to 'src/client.rs')
-rw-r--r-- | src/client.rs | 2 |
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. { |