-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
In theory, we should be able to do something like this:
diff --git a/osu.Game/Screens/Play/SubmittingPlayer.cs b/osu.Game/Screens/Play/SubmittingPlayer.cs
index 5fa6508a31..663ea9ab81 100644
--- a/osu.Game/Screens/Play/SubmittingPlayer.cs
+++ b/osu.Game/Screens/Play/SubmittingPlayer.cs
@@ -131,7 +131,8 @@ protected override async Task PrepareScoreForResultsAsync(Score score)
score.ScoreInfo.Date = DateTimeOffset.Now;
await submitScore(score).ConfigureAwait(false);
- spectatorClient.EndPlaying(GameplayState);
+ long onlineId = score.ScoreInfo.OnlineID;
+ spectatorClient.EndPlaying(GameplayState, onlineId);
}
[Resolved]
This would hopefully avoid the polling resolution process we have in place for replay uploads. We should be able to trust the client's returned ID as we can cross-check with the solo_score_tokens table.
Metadata
Metadata
Assignees
Labels
No labels