mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-11 06:05:16 +08:00
potentially fixed lb personal bests not updating
This commit is contained in:
parent
70d22a9c90
commit
0a055cb724
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ module.exports = {
|
|||
//updating lbpersonalbests object
|
||||
//verify structure first
|
||||
if (lbObj[mode] === undefined) lbObj[mode] = {};
|
||||
if (lbObj[mode][mode2] === undefined) lbObj[mode][mode2] = [];
|
||||
if (lbObj[mode][mode2] === undefined) lbObj[mode][mode2] = {};
|
||||
|
||||
let bestForEveryLanguage = {};
|
||||
if (obj?.[mode]?.[mode2]) {
|
||||
|
|
Loading…
Reference in a new issue