mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
Standardise and combine base implementation of score submission requests
These share too much yet have very different constructor signatures and property exposure. Just a clean-up pass as I begin to look at replay submission.
This commit is contained in:
@ -34,7 +34,7 @@ namespace osu.Game.Screens.Play
|
||||
protected override APIRequest<MultiplayerScore> CreateSubmissionRequest(Score score, long token)
|
||||
{
|
||||
Debug.Assert(Room.RoomID.Value != null);
|
||||
return new SubmitRoomScoreRequest(token, Room.RoomID.Value.Value, PlaylistItem.ID, score.ScoreInfo);
|
||||
return new SubmitRoomScoreRequest(score.ScoreInfo, token, Room.RoomID.Value.Value, PlaylistItem.ID);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user