Merge pull request #5860 from peppy/fix-skin-switch-samples

Fix hitsounds not updating immediately after switching skins
This commit is contained in:
Dan Balasescu 2019-08-28 11:59:02 +09:00 committed by GitHub
commit 759f6219ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ namespace osu.Game.Skinning
public void Play() => channels?.ForEach(c => c.Play());
public override bool IsPresent => false; // We don't need to receive updates.
public override bool IsPresent => Scheduler.HasPendingTasks;
protected override void SkinChanged(ISkinSource skin, bool allowFallback)
{