1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:37:28 +08:00

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);