mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +09:00
Rename completed state to passed
This commit is contained in:
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user