1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 21:42:56 +08:00

Use bigger initial capacity for catch hit object pool

This commit is contained in:
ekrctb 2020-12-01 14:50:42 +09:00
parent d1076778fd
commit e8842eed81

View File

@ -60,12 +60,12 @@ namespace osu.Game.Rulesets.Catch.UI
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load() private void load()
{ {
RegisterPool<Droplet, DrawableDroplet>(1); RegisterPool<Droplet, DrawableDroplet>(50);
RegisterPool<TinyDroplet, DrawableTinyDroplet>(1); RegisterPool<TinyDroplet, DrawableTinyDroplet>(50);
RegisterPool<Fruit, DrawableFruit>(1); RegisterPool<Fruit, DrawableFruit>(100);
RegisterPool<Banana, DrawableBanana>(1); RegisterPool<Banana, DrawableBanana>(100);
RegisterPool<JuiceStream, DrawableJuiceStream>(1); RegisterPool<JuiceStream, DrawableJuiceStream>(10);
RegisterPool<BananaShower, DrawableBananaShower>(1); RegisterPool<BananaShower, DrawableBananaShower>(2);
} }
protected override void LoadComplete() protected override void LoadComplete()