only for safety

This commit is contained in:
purerosefallen 2019-11-03 10:40:24 +08:00
parent cd7015f582
commit 84377f62b0
No known key found for this signature in database
GPG Key ID: E6D78C90943A3185

View File

@ -59,6 +59,11 @@ class AutoScore {
380000, 380000,
] ]
} }
if (this.GetMaxCombo() === 0) {
this.ScoreDiff = 100;
this.ScoreInit = 450;
return;
}
const target = this.GetTargetScore(difficulty, level); const target = this.GetTargetScore(difficulty, level);
this.Score = 0; this.Score = 0;
this.ScoreDiff = 0; this.ScoreDiff = 0;