Fix KeyCounter counting clicks when game is paused

This commit is contained in:
Berkan Diler
2018-07-14 03:08:28 +02:00
committed by GitHub
parent 7c3b0dc919
commit c8697e1743

View File

@ -169,7 +169,7 @@ namespace osu.Game.Screens.Play
OnPause = () =>
{
pauseContainer.Retries = RestartCount;
hudOverlay.KeyCounter.IsCounting = pauseContainer.IsPaused;
hudOverlay.KeyCounter.IsCounting = !pauseContainer.IsPaused;
},
OnResume = () => hudOverlay.KeyCounter.IsCounting = true,
Children = new[]