mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 14:02:55 +08: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;
|
RoomID.Value = other.RoomID.Value;
|
||||||
Name.Value = other.Name.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)
|
if (other.Host.Value != null && Host.Value?.Id != other.Host.Value.Id)
|
||||||
Host.Value = other.Host.Value;
|
Host.Value = other.Host.Value;
|
||||||
|
Loading…
Reference in New Issue
Block a user