diff --git a/osu.Game/Modes/UI/HudOverlay.cs b/osu.Game/Modes/UI/HudOverlay.cs index a070afb889..f493ae942d 100644 --- a/osu.Game/Modes/UI/HudOverlay.cs +++ b/osu.Game/Modes/UI/HudOverlay.cs @@ -31,7 +31,7 @@ namespace osu.Game.Modes.UI private Bindable showKeyCounter; private Bindable showHud; - private static bool has_shown_notification_once = false; + private static bool hasShownNotificationOnce; protected abstract KeyCounterCollection CreateKeyCounter(); protected abstract ComboCounter CreateComboCounter(); @@ -69,9 +69,9 @@ namespace osu.Game.Modes.UI showHud.ValueChanged += hudVisibilityChanged; showHud.TriggerChange(); - if (!showHud && !has_shown_notification_once) + if (!showHud && !hasShownNotificationOnce) { - has_shown_notification_once = true; + hasShownNotificationOnce = true; notificationManager?.Post(new SimpleNotification {