Remove redundant read-only VV from datafields (#12626)
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
using System.Threading;
|
||||
using Content.Server.Light.EntitySystems;
|
||||
using Content.Shared.Damage;
|
||||
using Content.Shared.Light;
|
||||
using Robust.Shared.Containers;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Content.Shared.MachineLinking;
|
||||
using System.Threading;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.Containers;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
|
||||
namespace Content.Server.Light.Components
|
||||
{
|
||||
@@ -28,7 +28,6 @@ namespace Content.Server.Light.Components
|
||||
[DataField("bulb")]
|
||||
public LightBulbType BulbType;
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("on")]
|
||||
public bool On = true;
|
||||
|
||||
@@ -36,15 +35,12 @@ namespace Content.Server.Light.Components
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public DamageSpecifier Damage = default!;
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("ignoreGhostsBoo")]
|
||||
public bool IgnoreGhostsBoo;
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("ghostBlinkingTime")]
|
||||
public TimeSpan GhostBlinkingTime = TimeSpan.FromSeconds(10);
|
||||
|
||||
[ViewVariables]
|
||||
[DataField("ghostBlinkingCooldown")]
|
||||
public TimeSpan GhostBlinkingCooldown = TimeSpan.FromSeconds(60);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user