This commit is contained in:
kron
2025-07-07 01:20:08 +08:00
parent b7d87f0ae2
commit 9ad65370b5

View File

@@ -35,7 +35,7 @@ watch(
const rankInfos = n_config.randInfos || [];
if (n_user.id && rankInfos.length) {
rankInfos.some((r, index) => {
if (r.upgrade_scores > n_user.scores) {
if (r.upgrade_scores && r.upgrade_scores > n_user.scores) {
nextLvlPoints.value = r.upgrade_scores;
return true;
}