Skip to content
This repository was archived by the owner on Dec 23, 2025. It is now read-only.

Commit f036293

Browse files
ScarKy0imatsoup
authored andcommitted
Fix SSD sleep misprediction (space-wizards#38831)
init
1 parent 00446ed commit f036293

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Content.Shared/SSDIndicator/SSDIndicatorComponent.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,18 @@ namespace Content.Shared.SSDIndicator;
1212
[AutoGenerateComponentState, AutoGenerateComponentPause]
1313
public sealed partial class SSDIndicatorComponent : Component
1414
{
15-
[ViewVariables(VVAccess.ReadWrite)]
15+
[DataField, ViewVariables(VVAccess.ReadOnly)]
1616
[AutoNetworkedField]
1717
public bool IsSSD = true;
1818

19-
[ViewVariables(VVAccess.ReadWrite)]
2019
[DataField]
2120
public ProtoId<SsdIconPrototype> Icon = "SSDIcon";
2221

2322
/// <summary>
2423
/// When the entity should fall asleep
2524
/// </summary>
26-
[DataField, AutoPausedField, Access(typeof(SSDIndicatorSystem))]
25+
[DataField]
26+
[AutoNetworkedField, AutoPausedField]
27+
[Access(typeof(SSDIndicatorSystem))]
2728
public TimeSpan FallAsleepTime = TimeSpan.Zero;
2829
}

0 commit comments

Comments
 (0)