mirror of
https://github.com/ppy/osu
synced 2024-12-30 19:02:27 +00:00
Don't copy spotlight category
This commit is contained in:
parent
e7339d6959
commit
b9d725ab49
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user