1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 13:37:25 +08:00

Fix test failures due to player bailing early after failing to load beatmap

This commit is contained in:
Bartłomiej Dach 2023-12-28 14:15:15 +01:00
parent 619b0cc69b
commit 6d124513e7
No known key found for this signature in database

View File

@ -180,7 +180,7 @@ namespace osu.Game.Screens.Play
{
bool exiting = base.OnExiting(e);
submitFromFailOrQuit();
statics.SetValue(Static.LastLocalUserScore, Score.ScoreInfo.DeepClone());
statics.SetValue(Static.LastLocalUserScore, Score?.ScoreInfo.DeepClone());
return exiting;
}