From 716bd0618308d6100556d1231b0b156f48c64778 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Wed, 20 Mar 2024 06:39:46 +0100 Subject: feat: scale spear damage --- src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client.rs') 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. { -- cgit v1.2.3