1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 06:47:24 +08:00

fix(osu.Game): Ensure Category property is copied in Room.

This commit is contained in:
Neuheit 2020-12-25 21:07:33 -05:00
parent ff811e9a88
commit e7339d6959

View File

@ -130,6 +130,7 @@ namespace osu.Game.Online.Rooms
{
RoomID.Value = other.RoomID.Value;
Name.Value = other.Name.Value;
Category.Value = other.Category.Value;
if (other.Host.Value != null && Host.Value?.Id != other.Host.Value.Id)
Host.Value = other.Host.Value;