From b72e20a4a52d438a2b91828371a803cdfee22d86 Mon Sep 17 00:00:00 2001 From: "Eevee (Evelyn Woods)" Date: Sun, 27 Dec 2020 18:26:49 -0700 Subject: [PATCH] Round the bonus down when halving it --- js/game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/game.js b/js/game.js index 358e306..af62471 100644 --- a/js/game.js +++ b/js/game.js @@ -1979,7 +1979,7 @@ export class Level extends LevelInterface { } adjust_bonus(add, mult = 1) { - this.bonus_points = Math.ceil(this.bonus_points * mult) + add; + this.bonus_points = Math.floor(this.bonus_points * mult) + add; } pause_timer() {