1
0
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:
tsunyoku 2022-07-17 22:49:09 +01:00
parent 0c50931d2f
commit 92513dc936

View File

@ -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()));
} }
} }