Files
OldThink/Content.Server/Research/Systems/ResearchSystem.PointSource.cs

13 lines
330 B
C#
Raw Normal View History

2022-06-28 22:54:08 +10:00
using Content.Server.Power.EntitySystems;
using Content.Server.Research.Components;
namespace Content.Server.Research;
public sealed partial class ResearchSystem
{
public bool CanProduce(ResearchPointSourceComponent component)
{
return component.Active && this.IsPowered(component.Owner, EntityManager);
}
}