mirror of
https://github.com/osukey/osukey.git
synced 2025-05-20 21:17:32 +09:00
Fix union resolver failing on multiple derived types
This commit is contained in:
parent
7302e66c5f
commit
c5b1e5cbf8
@ -27,7 +27,7 @@ namespace osu.Game.Online
|
|||||||
|
|
||||||
// This should not be required. The fallback should work. But something is weird with the way caching is done.
|
// This should not be required. The fallback should work. But something is weird with the way caching is done.
|
||||||
// For future adventurers, I would not advise looking into this further. It's likely not worth the effort.
|
// For future adventurers, I would not advise looking into this further. It's likely not worth the effort.
|
||||||
baseMap = baseMap.Concat(baseMap.Select(t => (t.baseType, t.baseType)));
|
baseMap = baseMap.Concat(baseMap.Select(t => (t.baseType, t.baseType)).Distinct());
|
||||||
|
|
||||||
return new Dictionary<Type, IMessagePackFormatter>(baseMap.Select(t =>
|
return new Dictionary<Type, IMessagePackFormatter>(baseMap.Select(t =>
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user