Round the bonus down when halving it

This commit is contained in:
Eevee (Evelyn Woods) 2020-12-27 18:26:49 -07:00
parent a2914cc291
commit b72e20a4a5

View File

@ -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() {