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; added = true;
result.push(object!{user: uid, score: score}).unwrap(); result.push(object!{user: uid, score: score}).unwrap();
current += 1; current += 1;
if scores[current].is_empty() {
break;
}
} }
if scores[current]["user"].as_i64().unwrap() == uid && !added { if scores[current]["user"].as_i64().unwrap() == uid && !added {
return; return;

View file

@ -11,8 +11,8 @@ use crate::router::userdata;
use lazy_static::lazy_static; use lazy_static::lazy_static;
use rand::Rng; use rand::Rng;
pub const ASSET_VERSION: &str = "13177023d4b7ad41ff52af4cefba5c55"; pub const ASSET_VERSION: &str = "cb87bc1468c8631a262ff65b2960470b";
pub const ASSET_HASH_ANDROID: &str = "017ec1bcafbeea6a7714f0034b15bd0f"; pub const ASSET_HASH_ANDROID: &str = "4715e873031ae4abc3c625e2bd8c935b";
pub const ASSET_HASH_IOS: &str = "466d4616d14a8d8a842de06426e084c2"; pub const ASSET_HASH_IOS: &str = "466d4616d14a8d8a842de06426e084c2";
pub const ASSET_VERSION_JP: &str = "4c921d2443335e574a82e04ec9ea243c"; pub const ASSET_VERSION_JP: &str = "4c921d2443335e574a82e04ec9ea243c";