mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 12:57:39 +09:00
Merge pull request #16942 from peppy/copy-spotlight-category
Allow room category to be copied even if `Spotlight`
This commit is contained in:
commit
33592b3e9e
@ -168,8 +168,7 @@ 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;
|
||||||
|
|
||||||
if (other.Category.Value != RoomCategory.Spotlight)
|
Category.Value = other.Category.Value;
|
||||||
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…
x
Reference in New Issue
Block a user