Rename MatchStarted() -> GameplayStarted()

This commit is contained in:
Dan Balasescu
2022-04-21 22:37:26 +09:00
parent 8c3b541312
commit 08d250fe58
6 changed files with 12 additions and 11 deletions

View File

@ -115,7 +115,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
if (!ValidForResume)
return; // token retrieval may have failed.
client.MatchStarted += onMatchStarted;
client.GameplayStarted += onGameplayStarted;
client.ResultsReady += onResultsReady;
ScoreProcessor.HasCompleted.BindValueChanged(completed =>
@ -175,7 +175,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
leaderboardFlow.Position = new Vector2(padding, padding + HUDOverlay.TopScoringElementsHeight);
}
private void onMatchStarted() => Scheduler.Add(() =>
private void onGameplayStarted() => Scheduler.Add(() =>
{
if (!this.IsCurrentScreen())
return;
@ -223,7 +223,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
if (client != null)
{
client.MatchStarted -= onMatchStarted;
client.GameplayStarted -= onGameplayStarted;
client.ResultsReady -= onResultsReady;
}
}