File tree Expand file tree Collapse file tree
osu.Server.Spectator/Hubs/Multiplayer/Matchmaking/RankedPlay/Stages Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,12 +72,15 @@ protected override async Task Begin()
7272 if ( winningScores . Length == 1 )
7373 State . Users [ ( int ) winningScores . Single ( ) . user_id ] . RoundsWon += 1 ;
7474
75- await Controller . MatchmakingService . RecordBeatmapResult (
76- Controller . PoolId ,
77- Room . CurrentPlaylistItem . BeatmapID ,
78- Room . CurrentPlaylistItem . RequiredMods . ToArray ( ) ,
79- scores . Select ( s => ( int ) s . total_score ) . ToArray ( ) ,
80- scores . Select ( s => Controller . RatingByUser [ ( int ) s . user_id ] ) . ToArray ( ) ) ;
75+ if ( Controller . Ranked )
76+ {
77+ await Controller . MatchmakingService . RecordBeatmapResult (
78+ Controller . PoolId ,
79+ Room . CurrentPlaylistItem . BeatmapID ,
80+ Room . CurrentPlaylistItem . RequiredMods . ToArray ( ) ,
81+ scores . Select ( s => ( int ) s . total_score ) . ToArray ( ) ,
82+ scores . Select ( s => Controller . RatingByUser [ ( int ) s . user_id ] ) . ToArray ( ) ) ;
83+ }
8184
8285 if ( ! HasGameplayRoundsRemaining ( ) )
8386 await Controller . HandleMatchCompleted ( ) ;
You can’t perform that action at this time.
0 commit comments