mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 15:26:15 +08:00
fixed corrected everything bonus being applied too often
This commit is contained in:
parent
5be476d3e3
commit
2f21bff1a2
|
@ -452,7 +452,7 @@ async function calculateXp(
|
|||
let modifier = 1;
|
||||
|
||||
const correctedEverything = charStats
|
||||
.slice(2)
|
||||
.slice(1)
|
||||
.every((charStat: number) => charStat === 0);
|
||||
|
||||
if (acc === 100) {
|
||||
|
|
Loading…
Reference in a new issue