mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Fix incorrect implementation
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user