mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-22 01:19:11 +08:00
fixed server always reporting daily bonus
This commit is contained in:
parent
e0c6420e4f
commit
18c7d7db18
1 changed files with 1 additions and 1 deletions
|
|
@ -478,6 +478,6 @@ async function calculateXp(
|
|||
Math.round(seconds * 2 * modifier * accuracyModifier + incompleteXp) *
|
||||
configurationMultiplier +
|
||||
dailyBonus,
|
||||
dailyBonus: true,
|
||||
dailyBonus: dailyBonus > 0 ? true : false,
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue