Round the bonus down when halving it
This commit is contained in:
parent
a2914cc291
commit
b72e20a4a5
@ -1979,7 +1979,7 @@ export class Level extends LevelInterface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
adjust_bonus(add, mult = 1) {
|
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() {
|
pause_timer() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user