From 6ab04105cb0bb59967fee08e7e127c71e1832ee3 Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 28 Dec 2020 22:34:31 +0000 Subject: [PATCH] not using cloud functions for saving lb memory anymore --- src/js/script.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/js/script.js b/src/js/script.js index ed30f3b37..1eac9f351 100644 --- a/src/js/script.js +++ b/src/js/script.js @@ -2420,18 +2420,18 @@ function showResult(difficultyFailed = false) { globalLbString + "
" + dailyLbString ); - CloudFunctions.saveLbMemory({ - uid: firebase.auth().currentUser.uid, - obj: db_getSnapshot().lbMemory, - }).then((d) => { - if (d.data.returnCode === 1) { - } else { - Misc.showNotification( - `Error saving lb memory ${d.data.message}`, - 4000 - ); - } - }); + // CloudFunctions.saveLbMemory({ + // uid: firebase.auth().currentUser.uid, + // obj: db_getSnapshot().lbMemory, + // }).then((d) => { + // if (d.data.returnCode === 1) { + // } else { + // Misc.showNotification( + // `Error saving lb memory ${d.data.message}`, + // 4000 + // ); + // } + // }); } if ( e.data.dailyLeaderboard === null &&