now announcing top 10 global results

This commit is contained in:
Jack 2020-07-13 14:23:40 +01:00
parent cfe21289ec
commit ae6d837e89

View file

@ -482,7 +482,8 @@ exports.testCompleted = functions.https.onCall((request, response) => {
if (
globallb !== null &&
[1, 2, 3].includes(globallb.insertedAt + 1) &&
globallb.insertedAt >= 0 &&
globallb.insertedAt <= 9 &&
globallb.newBest
) {
let lbstring = `${obj.mode} ${obj.mode2} global`;