mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 09:58:21 +08:00
Fix incorrect implementation
This commit is contained in:
parent
7c29386717
commit
8232d9d2fe
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user