Fix incorrect implementation

This commit is contained in:
smoogipoo 2021-02-02 18:01:38 +09:00
parent 7c29386717
commit 8232d9d2fe

View File

@ -56,7 +56,7 @@ namespace osu.Game.Utils
// Add the new mod types, checking whether any match the incompatible types.
foreach (var t in mod.GetType().EnumerateBaseTypes())
{
if (incomingTypes.Contains(t))
if (incompatibleTypes.Contains(t))
return false;
incomingTypes.Add(t);