Commit 92947169 authored by Bui's avatar Bui

fix individual score upload

parent 73b8da36
...@@ -133,7 +133,7 @@ class ScoreStorage{ ...@@ -133,7 +133,7 @@ class ScoreStorage{
var obj = {} var obj = {}
obj[hash] = this.scoreStrings[hash] obj[hash] = this.scoreStrings[hash]
this.sendToServer({ this.sendToServer({
scores: obj scores: this.prepareScores(obj)
}).catch(() => this.add.apply(this, arguments)) }).catch(() => this.add.apply(this, arguments))
} }
template(){ template(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment