diff options
-rw-r--r-- | plugins/game/game.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/game/game.c b/plugins/game/game.c index 74892c8..0e734a0 100644 --- a/plugins/game/game.c +++ b/plugins/game/game.c @@ -332,7 +332,7 @@ static void render(render_entity_list entity_list) set_color((struct color) {255, 0, 0}, false); for (int i = 0; i < player.max_health; i++) { - if (i == player.health) + if (i >= player.health) set_color(get_color("#5A5A5A"), false); printf("\u2665 "); } |