Unlimit number of samples per pool

This commit is contained in:
smoogipoo 2020-11-19 21:21:57 +09:00
parent 0287269b2f
commit 7180bfe4ba
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ DrawableHitObject IPooledHitObjectProvider.GetPooledDrawableRepresentation(HitOb
public PoolableSkinnableSample GetPooledSample(ISampleInfo sampleInfo)
{
if (!samplePools.TryGetValue(sampleInfo, out var existingPool))
AddInternal(samplePools[sampleInfo] = existingPool = new DrawableSamplePool(sampleInfo, 1, 30));
AddInternal(samplePools[sampleInfo] = existingPool = new DrawableSamplePool(sampleInfo, 1));
return existingPool.Get();
}