Merge pull request #16942 from peppy/copy-spotlight-category

Allow room category to be copied even if `Spotlight`
This commit is contained in:
Dan Balasescu 2022-02-21 18:21:21 +09:00 committed by GitHub
commit 33592b3e9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -168,8 +168,7 @@ namespace osu.Game.Online.Rooms
RoomID.Value = other.RoomID.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)
Host.Value = other.Host.Value;