Made all overlays compatible with the new Overlay changes in engine.

This commit is contained in:
Acruid
2020-07-31 14:01:34 -07:00
parent 7a983062a9
commit 86f74b35d1
7 changed files with 25 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Threading;
using Content.Shared.GameObjects.Components.Weapons;
using Robust.Client.Graphics.Drawing;
@@ -116,7 +116,7 @@ namespace Content.Client.GameObjects.Components.Weapons
Duration = duration;
}
protected override void Draw(DrawingHandleBase handle)
protected override void Draw(DrawingHandleBase handle, OverlaySpace currentSpace)
{
var elapsedTime = (_timer.CurTime - StartTime).TotalSeconds;
if (elapsedTime > Duration)