mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 20:32:55 +08:00
Avoid using game-wide beatmap during score submission
This commit is contained in:
parent
30467191b2
commit
f689e788c9
@ -37,9 +37,11 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
protected override APIRequest<MultiplayerScore> CreateSubmissionRequest(Score score, long token)
|
||||
{
|
||||
Debug.Assert(Beatmap.Value.BeatmapInfo.OnlineBeatmapID != null);
|
||||
var beatmap = score.ScoreInfo.Beatmap;
|
||||
|
||||
int beatmapId = Beatmap.Value.BeatmapInfo.OnlineBeatmapID.Value;
|
||||
Debug.Assert(beatmap.OnlineBeatmapID != null);
|
||||
|
||||
int beatmapId = beatmap.OnlineBeatmapID.Value;
|
||||
|
||||
return new SubmitSoloScoreRequest(beatmapId, token, score.ScoreInfo);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user