Rename completed state to passed

This commit is contained in:
Dan Balasescu
2022-02-08 20:29:49 +09:00
parent 0d99017178
commit 4c76027178
5 changed files with 11 additions and 11 deletions

View File

@ -6,7 +6,7 @@ namespace osu.Game.Online.Spectator
public enum SpectatingUserState
{
/// <summary>
/// The spectated user has not yet played.
/// The spectated user is not yet playing.
/// </summary>
Idle,
@ -16,17 +16,17 @@ namespace osu.Game.Online.Spectator
Playing,
/// <summary>
/// The spectated user has successfully completed gameplay.
/// The spectated user has passed gameplay.
/// </summary>
Completed,
Passed,
/// <summary>
/// The spectator user has failed during gameplay.
/// The spectator user has failed gameplay.
/// </summary>
Failed,
/// <summary>
/// The spectated user has quit during gameplay.
/// The spectated user has quit gameplay.
/// </summary>
Quit
}

View File

@ -186,7 +186,7 @@ namespace osu.Game.Online.Spectator
currentBeatmap = null;
if (state.HasPassed)
currentState.State = SpectatingUserState.Completed;
currentState.State = SpectatingUserState.Passed;
else if (state.HasFailed)
currentState.State = SpectatingUserState.Failed;
else