ECS and bandaid research (#9251)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user