From f0e715fd3fad342c785a5b4a8637cedfaccb8731 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Wed, 19 Nov 2025 22:20:56 -0500 Subject: dungeon: implement items --- graphics/src/render.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/src') diff --git a/graphics/src/render.rs b/graphics/src/render.rs index 02bc61c..208dafb 100644 --- a/graphics/src/render.rs +++ b/graphics/src/render.rs @@ -665,7 +665,7 @@ impl Renderer { where R: RaylibDraw, { - let health = player.entity.health.unwrap_or(0); + let health = player.entity.health; let damage = 0; // TODO: calc damage const TEXT_WIDTH: u16 = FONT_SIZE * 3 + UI_PADDING; -- cgit v1.2.3-freya