mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Made modString private and moved the beatmap assignment inside GetScoresRequest
This commit is contained in:
@ -16,6 +16,17 @@ namespace osu.Game.Online.API.Requests
|
||||
public GetScoresRequest(BeatmapInfo beatmap)
|
||||
{
|
||||
this.beatmap = beatmap;
|
||||
|
||||
Success += onSuccess;
|
||||
}
|
||||
|
||||
private void onSuccess(GetScoresResponse r)
|
||||
{
|
||||
foreach (Score score in r.Scores)
|
||||
{
|
||||
score.Beatmap = beatmap;
|
||||
score.Ruleset = beatmap.Ruleset;
|
||||
}
|
||||
}
|
||||
|
||||
protected override WebRequest CreateWebRequest()
|
||||
|
Reference in New Issue
Block a user