Update global asset hash

This commit is contained in:
Ethan O'Brien
2024-05-01 18:47:35 -05:00
parent 7148c5627f
commit 2a2806c148
2 changed files with 5 additions and 2 deletions

View File

@@ -171,6 +171,9 @@ fn update_live_score(id: i64, uid: i64, score: i64) {
added = true;
result.push(object!{user: uid, score: score}).unwrap();
current += 1;
if scores[current].is_empty() {
break;
}
}
if scores[current]["user"].as_i64().unwrap() == uid && !added {
return;