mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 14:12:56 +08:00
Add clarification comment
This commit is contained in:
parent
1f92f1d19b
commit
4c7e6b125c
@ -55,6 +55,9 @@ namespace osu.Game.Overlays.Mods
|
|||||||
|
|
||||||
protected override void Select()
|
protected override void Select()
|
||||||
{
|
{
|
||||||
|
// this implicitly presumes that if a system mod declares incompatibility with a non-system mod,
|
||||||
|
// the non-system mod should take precedence.
|
||||||
|
// if this assumption is ever broken, this should be reconsidered.
|
||||||
var selectedSystemMods = selectedMods.Value.Where(mod => mod.Type == ModType.System &&
|
var selectedSystemMods = selectedMods.Value.Where(mod => mod.Type == ModType.System &&
|
||||||
!mod.IncompatibleMods.Any(t => Preset.Value.Mods.Any(t.IsInstanceOfType)));
|
!mod.IncompatibleMods.Any(t => Preset.Value.Mods.Any(t.IsInstanceOfType)));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user