summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2023-07-23 23:01:51 +1000
committerquou <quou@disroot.org>2023-07-23 23:01:51 +1000
commitc44f7e5e46b80087cb10581546c9b0959d9261b8 (patch)
tree6f8768b07253d737995102538a6e855b1034a872 /src
parent74c3f01c8f923285b2cf3c4112a15f50507e0898 (diff)
Remove percent sign from food counter.
Diffstat (limited to 'src')
-rw-r--r--src/main.js2
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);