mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 12:32:56 +08:00
Don't send spectating user state yet
This commit is contained in:
parent
99bee73ac1
commit
2791d454d2
@ -96,6 +96,9 @@ namespace osu.Game.Online.Multiplayer
|
||||
if (!IsConnected.Value)
|
||||
return Task.CompletedTask;
|
||||
|
||||
if (newState == MultiplayerUserState.Spectating)
|
||||
return Task.CompletedTask; // Not supported yet.
|
||||
|
||||
return connection.InvokeAsync(nameof(IMultiplayerServer.ChangeState), newState);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user