mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 14:57:52 +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