1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 16:32:54 +08:00

Null out the sample too

This commit is contained in:
smoogipoo 2020-07-23 21:24:31 +09:00
parent 2126f6bffc
commit f883cb85d7

View File

@ -94,6 +94,7 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
base.LoadSamples(); base.LoadSamples();
slidingSample?.Expire(); slidingSample?.Expire();
slidingSample = null;
var firstSample = HitObject.Samples.FirstOrDefault(); var firstSample = HitObject.Samples.FirstOrDefault();