mirror of
https://github.com/ppy/osu
synced 2025-01-20 21:10:49 +00:00
reverse IsInstanceOfType logic
This commit is contained in:
parent
0c50931d2f
commit
92513dc936
@ -36,7 +36,7 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
|
||||
foreach (var incompatibleModType in modIncompatibilities)
|
||||
{
|
||||
var incompatibleMod = modInstances.First(m => m.GetType().IsInstanceOfType(incompatibleModType));
|
||||
var incompatibleMod = modInstances.First(m => incompatibleModType.IsInstanceOfType(m));
|
||||
Assert.That(incompatibleMod.IncompatibleMods.Contains(mod.GetType()));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user