Use new ComponentPauseGenerator (#25183)
Also includes some (non critical) changes to the solution file to re-organize the Roslyn components.
This commit is contained in:
committed by
GitHub
parent
2a2324ecaf
commit
e00f74505c
@@ -8,6 +8,7 @@ namespace Content.Shared.Anomaly.Components;
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
||||
[Access(typeof(SharedAnomalySystem))]
|
||||
[AutoGenerateComponentPause]
|
||||
public sealed partial class AnomalySupercriticalComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
@@ -15,6 +16,7 @@ public sealed partial class AnomalySupercriticalComponent : Component
|
||||
/// </summary>
|
||||
[DataField(customTypeSerializer: typeof(TimeOffsetSerializer)), AutoNetworkedField]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
[AutoPausedField]
|
||||
public TimeSpan EndTime;
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user