1
0
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:
Dan Balasescu 2020-10-07 19:34:53 +09:00 committed by GitHub
commit 6636b64cbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
}