fix bug
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user