potentially fixed lb personal bests not updating

This commit is contained in:
Jack 2021-10-26 23:32:15 +01:00
parent 70d22a9c90
commit 0a055cb724

View file

@ -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]) {