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
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ private void load(AudioManager audio, APIAccess api, OsuConfigManager config)
OnPause = () =>
{
pauseContainer.Retries = RestartCount;
hudOverlay.KeyCounter.IsCounting = pauseContainer.IsPaused;
hudOverlay.KeyCounter.IsCounting = !pauseContainer.IsPaused;
},
OnResume = () => hudOverlay.KeyCounter.IsCounting = true,
Children = new[]