mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +09:00
Don't copy spotlight category
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user