diff --git a/EndlessClient/HUD/StatusLabelSetter.cs b/EndlessClient/HUD/StatusLabelSetter.cs index d658b1417..d66f81ce5 100644 --- a/EndlessClient/HUD/StatusLabelSetter.cs +++ b/EndlessClient/HUD/StatusLabelSetter.cs @@ -36,7 +36,7 @@ public void SetStatusLabel(EOResourceID type, string prepended, EOResourceID tex private void SetStatusLabelText(string type, string text, string extra = "") { - _statusLabelTextRepository.StatusText = $"[ {type} ] {text} {extra}"; + _statusLabelTextRepository.StatusText = $"[ {type} ] {text}{extra}"; _statusLabelTextRepository.SetTime = DateTime.Now; } diff --git a/EndlessClient/UIControls/StatusBarLabel.cs b/EndlessClient/UIControls/StatusBarLabel.cs index 0cad563eb..02e7481cb 100644 --- a/EndlessClient/UIControls/StatusBarLabel.cs +++ b/EndlessClient/UIControls/StatusBarLabel.cs @@ -30,7 +30,10 @@ protected override bool ShouldUpdate() } if ((DateTime.Now - _statusLabelTextProvider.SetTime).TotalMilliseconds > STATUS_LABEL_DISPLAY_TIME_MS) + { + Text = string.Empty; Visible = false; + } return base.ShouldUpdate(); }