mirror of
https://github.com/ppy/osu.git
synced 2025-03-26 13:47:28 +08:00
Fix host check
Although the underlying issue is that the host user is not populated. Not sure whether this should be fixed at all.
This commit is contained in:
parent
71f3a64165
commit
c7381b4df0
@ -387,7 +387,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
|
||||
{
|
||||
case QueueModes.HostOnly:
|
||||
AddOrEditPlaylistButton.Text = "Edit beatmap";
|
||||
AddOrEditPlaylistButton.Alpha = client.Room.Host?.User?.Equals(client.LocalUser?.User) == true ? 1 : 0;
|
||||
AddOrEditPlaylistButton.Alpha = client.IsHost ? 1 : 0;
|
||||
break;
|
||||
|
||||
case QueueModes.FreeForAll:
|
||||
|
Loading…
x
Reference in New Issue
Block a user