diff --git a/src/model/bandwidth.js b/src/model/bandwidth.js index 9e57823..b7755a8 100644 --- a/src/model/bandwidth.js +++ b/src/model/bandwidth.js @@ -56,14 +56,14 @@ export class Bandwidth { if (state.levels[i].unlocked) { let multiplier = state.ui.elapsed - state.levels[i].unlockTime // multiplier = multiplier > 7200 ? 7200 : multiplier - bonus += (this.rate * BigInt(multiplier)) / BigInt(7200 / i) + bonus += (this.rate * BigInt(multiplier)) / BigInt(Math.floor(7200 / i)) break } } if (state.services.time.level > 1) { //let multiplier = state.ui.elapsed > 172800 ? 86400 : state.ui.elapsed let multiplier = state.ui.elapsed - bonus += (this.rate * BigInt(multiplier)) / BigInt(86400/i) + bonus += (this.rate * BigInt(multiplier)) / BigInt(Math.floor(86400/i)) } }