mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew
synced 2025-10-09 17:07:20 +08:00
Update global asset hash
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user