From ebc814f06a6f79dabfb5bd63030530af0b925e1e Mon Sep 17 00:00:00 2001 From: Andrey Zavadskiy Date: Sat, 1 Apr 2017 21:17:24 +0300 Subject: [PATCH] Typos fix --- osu.Desktop.VisualTests/Tests/TestCaseInGameOverlays.cs | 2 +- osu.Game/Screens/Play/Player.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/osu.Desktop.VisualTests/Tests/TestCaseInGameOverlays.cs b/osu.Desktop.VisualTests/Tests/TestCaseInGameOverlays.cs index 575c54864c..d8b0349ae2 100644 --- a/osu.Desktop.VisualTests/Tests/TestCaseInGameOverlays.cs +++ b/osu.Desktop.VisualTests/Tests/TestCaseInGameOverlays.cs @@ -10,7 +10,7 @@ namespace osu.Desktop.VisualTests.Tests { internal class TestCaseInGameOverlays : TestCase { - public override string Description => @"Tests the pause and fail overlays"; + public override string Description => @"Tests pause and fail overlays"; private PauseOverlay pauseOverlay; private FailOverlay failOverlay; diff --git a/osu.Game/Screens/Play/Player.cs b/osu.Game/Screens/Play/Player.cs index 5dbd23190b..fcf95d3925 100644 --- a/osu.Game/Screens/Play/Player.cs +++ b/osu.Game/Screens/Play/Player.cs @@ -30,7 +30,7 @@ namespace osu.Game.Screens.Play internal override bool ShowOverlays => false; - internal override bool HasLocalCursorDisplayed => !hasReplayLoaded && !IsPaused && !IsFailed; + internal override bool HasLocalCursorDisplayed => !hasReplayLoaded && !IsPaused && !HasFailed; private bool hasReplayLoaded => HitRenderer.InputManager.ReplayInputHandler != null; @@ -38,7 +38,7 @@ namespace osu.Game.Screens.Play public bool IsPaused { get; private set; } - public bool IsFailed { get; private set; } + public bool HasFailed { get; private set; } public int RestartCount; @@ -274,7 +274,7 @@ namespace osu.Game.Screens.Play Delay(500); - IsFailed = true; + HasFailed = true; failOverlay.Retries = RestartCount; failOverlay.Show(); }