From 929471698f10cc84752e93be1f53301453a1c5a9 Mon Sep 17 00:00:00 2001 From: Bui Date: Fri, 13 Mar 2020 04:04:45 +0000 Subject: [PATCH] fix individual score upload --- public/src/js/scorestorage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/js/scorestorage.js b/public/src/js/scorestorage.js index dc37a80..e9db533 100644 --- a/public/src/js/scorestorage.js +++ b/public/src/js/scorestorage.js @@ -133,7 +133,7 @@ class ScoreStorage{ var obj = {} obj[hash] = this.scoreStrings[hash] this.sendToServer({ - scores: obj + scores: this.prepareScores(obj) }).catch(() => this.add.apply(this, arguments)) } template(){