mirror of
https://github.com/ppy/osu
synced 2025-01-11 16:49:39 +00: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.
|
// Add the new mod types, checking whether any match the incompatible types.
|
||||||
foreach (var t in mod.GetType().EnumerateBaseTypes())
|
foreach (var t in mod.GetType().EnumerateBaseTypes())
|
||||||
{
|
{
|
||||||
if (incomingTypes.Contains(t))
|
if (incompatibleTypes.Contains(t))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
incomingTypes.Add(t);
|
incomingTypes.Add(t);
|
||||||
|
Loading…
Reference in New Issue
Block a user