mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-30 08:07:28 +00:00
* Adds Direction Requests * Fix * Fixed EntryPoint, added back Sec Lathe, and added as a Salvage Points item * Moved SpecOpsGoggles to appease gods * Give Skia Thermal Vision * Removed thermals from research. * Removed thermal vision, added comment
20 lines
535 B
C#
20 lines
535 B
C#
using Robust.Shared.Timing;
|
|
|
|
namespace Content.Shared._RMC14.Effect;
|
|
|
|
public abstract class SharedRMCEffectSystem : EntitySystem
|
|
{
|
|
[Dependency] private readonly IGameTiming _timing = default!;
|
|
|
|
public override void Initialize()
|
|
{
|
|
SubscribeLocalEvent<EffectAlphaAnimationComponent, MapInitEvent>(OnAlphaAnimationMapInit);
|
|
}
|
|
|
|
private void OnAlphaAnimationMapInit(Entity<EffectAlphaAnimationComponent> ent, ref MapInitEvent args)
|
|
{
|
|
ent.Comp.SpawnedAt = _timing.CurTime;
|
|
Dirty(ent);
|
|
}
|
|
}
|