Don't copy spotlight category

This commit is contained in:
Dean Herbert 2020-12-26 20:13:28 +09:00
parent e7339d6959
commit b9d725ab49

View File

@ -130,7 +130,9 @@ namespace osu.Game.Online.Rooms
{
RoomID.Value = other.RoomID.Value;
Name.Value = other.Name.Value;
Category.Value = other.Category.Value;
if (other.Category.Value != RoomCategory.Spotlight)
Category.Value = other.Category.Value;
if (other.Host.Value != null && Host.Value?.Id != other.Host.Value.Id)
Host.Value = other.Host.Value;