1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 06:23:47 +08:00

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
Unverified
+1 -2
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;