diff options
-rw-r--r-- | src/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.js b/src/main.js index a796981..6d2ab4e 100644 --- a/src/main.js +++ b/src/main.js @@ -705,7 +705,7 @@ function on_update() { draw_text(canvas.width - score_text.length * 16 * sprite_scale, 0, score_text); draw_text(canvas.width - level_text.length * 16 * sprite_scale, 16 * sprite_scale, level_text); - let food_text = `${Math.round(food)}%`; + let food_text = `${Math.round(food)}`; let r = sprites.food_icon; ctx.drawImage(spritesheet, r.x, r.y, r.w, r.h, 0, 0, r.w * sprite_scale, r.h * sprite_scale); |