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:
parent
afb8eb636d
commit
f5e8d1d14d
@ -83,6 +83,7 @@ namespace osu.Game.Skinning
|
||||
bool wasPlaying = Playing;
|
||||
|
||||
sampleContainer.Clear();
|
||||
Sample = null;
|
||||
|
||||
var ch = CurrentSkin.GetSample(sampleInfo);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user