1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-27 05:01:22 +08:00

Fix allowed mods not being copied when populating playlist items

This commit is contained in:
Dean Herbert
2021-02-16 15:13:57 +09:00
Unverified
parent da42c6d282
commit fff1cb0b35
@@ -56,6 +56,9 @@ namespace osu.Game.Screens.OnlinePlay.Playlists
item.RequiredMods.Clear();
item.RequiredMods.AddRange(Mods.Value.Select(m => m.CreateCopy()));
item.AllowedMods.Clear();
item.AllowedMods.AddRange(FreeMods.Value.Select(m => m.CreateCopy()));
}
}
}