Merge pull request #3035 from turbedi/patch-1

Fix KeyCounter counting clicks when game is paused
This commit is contained in:
Dean Herbert 2018-07-14 12:13:57 +09:00 committed by GitHub
commit 8e5c93e3ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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[]