1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 21:43:04 +08:00

Lose old reference immediately on updateSample()

This commit is contained in:
smoogipoo 2020-11-30 19:19:24 +09:00
parent afb8eb636d
commit f5e8d1d14d

View File

@ -83,6 +83,7 @@ namespace osu.Game.Skinning
bool wasPlaying = Playing;
sampleContainer.Clear();
Sample = null;
var ch = CurrentSkin.GetSample(sampleInfo);