mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Add a red tint on mods incompatible with the current selection
This commit is contained in:
@ -127,7 +127,7 @@ namespace osu.Game.Overlays.Mods
|
||||
|
||||
var allMods = ruleset.Value.CreateInstance().GetAllMods();
|
||||
|
||||
incompatibleMods.Value = allMods.Where(m => incompatibleTypes.Any(t => t.IsInstanceOfType(m))).ToList();
|
||||
incompatibleMods.Value = allMods.Where(m => m.GetType() != mod.GetType() && incompatibleTypes.Any(t => t.IsInstanceOfType(m))).ToList();
|
||||
|
||||
if (!incompatibleMods.Value.Any())
|
||||
{
|
||||
|
Reference in New Issue
Block a user