Remove IRadiationAct (#7757)
* Move radiation collector to ECS * Damagable system * Remove IRadiationAct * Add small helper field * Update Content.Server/Radiation/Systems/RadiationSystem.cs Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> * Delete comment * Fixed total rads Co-authored-by: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com>
This commit is contained in:
@@ -32,7 +32,7 @@ namespace Content.Server.Singularity
|
||||
}
|
||||
foreach (var comp in entityManager.EntityQuery<RadiationCollectorComponent>())
|
||||
{
|
||||
comp.Collecting = true;
|
||||
EntitySystem.Get<RadiationCollectorSystem>().SetCollectorEnabled(comp.Owner, true, null, comp);
|
||||
}
|
||||
foreach (var comp in entityManager.EntityQuery<ParticleAcceleratorControlBoxComponent>())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user