mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 22:26:41 +09:00
Fix pools not being added to hierarchy
This commit is contained in:
@ -348,7 +348,7 @@ namespace osu.Game.Rulesets.UI
|
||||
public PoolableSkinnableSample GetPooledSample(ISampleInfo sampleInfo)
|
||||
{
|
||||
if (!samplePools.TryGetValue(sampleInfo, out var existingPool))
|
||||
samplePools[sampleInfo] = existingPool = new DrawableSamplePool(sampleInfo, 5);
|
||||
AddInternal(samplePools[sampleInfo] = existingPool = new DrawableSamplePool(sampleInfo, 5));
|
||||
|
||||
return existingPool.Get();
|
||||
}
|
||||
|
Reference in New Issue
Block a user