mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09: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:
@ -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:
|
||||
|
Reference in New Issue
Block a user