mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 16:17:27 +00:00
22 lines
570 B
C#
22 lines
570 B
C#
using Content.Shared.Pointing.Components;
|
|
using Robust.Client.GameObjects;
|
|
using Robust.Shared.GameObjects;
|
|
using DrawDepth = Content.Shared.DrawDepth.DrawDepth;
|
|
|
|
namespace Content.Client.Pointing.Components
|
|
{
|
|
[RegisterComponent]
|
|
public class PointingArrowComponent : SharedPointingArrowComponent
|
|
{
|
|
protected override void Startup()
|
|
{
|
|
base.Startup();
|
|
|
|
if (Owner.TryGetComponent(out SpriteComponent? sprite))
|
|
{
|
|
sprite.DrawDepth = (int) DrawDepth.Overlays;
|
|
}
|
|
}
|
|
}
|
|
}
|