Files
tbd-station-14/Content.Shared/Power/Generator/ActiveGeneratorRevvingComponent.cs
slarticodefast 4704309b4e Fix SpawnAndDeleteAllEntitiesInTheSameSpot heisentest (#32330)
What happened was that the new tech anomaly randomly triggered a signal sink on the portable generator, which is currently broken and throws an error if the that sink is activated.

The resolve needed logMissing = false because it does not expect the ActiveGeneratorRevvingComponent to exist.
2024-10-12 11:54:48 -07:00

11 lines
339 B
C#

using Robust.Shared.GameStates;
namespace Content.Shared.Power.Generator;
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class ActiveGeneratorRevvingComponent : Component
{
[DataField, ViewVariables(VVAccess.ReadOnly), AutoNetworkedField]
public TimeSpan CurrentTime = TimeSpan.Zero;
}