mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:02:53 +08:00
Fix test failure due to checking incompaatibility of flattened multi mods
This commit is contained in:
parent
e99d0f9fae
commit
282b220d94
@ -115,7 +115,9 @@ namespace osu.Game.Utils
|
|||||||
{
|
{
|
||||||
mods = mods.ToArray();
|
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)
|
foreach (var mod in mods)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user