1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 12:53:11 +08:00

Fix test failure due to checking incompaatibility of flattened multi mods

This commit is contained in:
Bartłomiej Dach 2022-04-08 00:16:25 +02:00
parent e99d0f9fae
commit 282b220d94
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -115,7 +115,9 @@ namespace osu.Game.Utils
{
mods = mods.ToArray();
CheckCompatibleSet(mods, out invalidMods);
// exclude multi mods from compatibility checks.
// the loop below automatically marks all multi mods as not valid for gameplay anyway.
CheckCompatibleSet(mods.Where(m => !(m is MultiMod)), out invalidMods);
foreach (var mod in mods)
{