mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 14:57:52 +08: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)
|
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()));
|
Assert.That(incompatibleMod.IncompatibleMods.Contains(mod.GetType()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user