mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Fix scores not being accepted due to missing ruleset ID
This commit is contained in:
@ -17,7 +17,10 @@ namespace osu.Game.Screens.Play
|
||||
if (!(Beatmap.Value.BeatmapInfo.OnlineBeatmapID is int beatmapId))
|
||||
return null;
|
||||
|
||||
return new CreateSoloScoreRequest(beatmapId, Game.VersionHash);
|
||||
if (!(Ruleset.Value.ID is int rulesetId))
|
||||
return null;
|
||||
|
||||
return new CreateSoloScoreRequest(beatmapId, rulesetId, Game.VersionHash);
|
||||
}
|
||||
|
||||
protected override bool HandleTokenRetrievalFailure(Exception exception) => false;
|
||||
|
Reference in New Issue
Block a user