mirror of
https://github.com/ppy/osu
synced 2025-01-08 23:29:43 +00:00
Fix nullref with null beatmap
This commit is contained in:
parent
d7bbb362bf
commit
ec2674e1ea
@ -116,6 +116,12 @@ namespace osu.Game.Scoring
|
||||
|
||||
private void onScoringModeChanged(ValueChangedEvent<ScoringMode> mode)
|
||||
{
|
||||
if (score.Beatmap == null)
|
||||
{
|
||||
Value = score.TotalScore;
|
||||
return;
|
||||
}
|
||||
|
||||
int? beatmapMaxCombo = score.Beatmap.MaxCombo;
|
||||
|
||||
if (beatmapMaxCombo == null)
|
||||
|
Loading…
Reference in New Issue
Block a user