Fix a couple compiler warnings.

This commit is contained in:
Pieter-Jan Briers
2020-01-15 14:51:01 +01:00
parent 56f1233967
commit 1856cb079c
2 changed files with 3 additions and 8 deletions

View File

@@ -71,11 +71,6 @@ namespace Content.Client
public void FrameUpdate(FrameEventArgs eventArgs)
{
foreach (var label in _aliveLabels)
{
label.Update(eventArgs);
}
_aliveLabels.RemoveAll(l => l.Disposed);
}
@@ -91,7 +86,7 @@ namespace Content.Client
FontColorShadowOverride = Color.Black;
}
public void Update(FrameEventArgs eventArgs)
protected override void Update(FrameEventArgs eventArgs)
{
_timeLeft += eventArgs.DeltaSeconds;
LayoutContainer.SetPosition(this, InitialPos - (0, 20 * (_timeLeft * _timeLeft + _timeLeft)));