mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 09:07:25 +08:00
Merge pull request #10407 from peppy/fix-sample-disposed-on-skin-change
Don't force playback of (non-looping) DrawableHitObject samples after skin change
This commit is contained in:
commit
6636b64cbd
@ -273,7 +273,7 @@ namespace osu.Game.Rulesets.Objects.Drawables
|
||||
// apply any custom state overrides
|
||||
ApplyCustomUpdateState?.Invoke(this, newState);
|
||||
|
||||
if (newState == ArmedState.Hit)
|
||||
if (!force && newState == ArmedState.Hit)
|
||||
PlaySamples();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user