Remove some unused fields

This commit is contained in:
metalgearsloth
2021-09-21 00:16:52 +10:00
parent b45d121c24
commit a8908427a8
4 changed files with 0 additions and 8 deletions

View File

@@ -16,7 +16,6 @@ namespace Content.Client.MobState.Overlays
public override OverlaySpace Space => OverlaySpace.WorldSpace;
private readonly ShaderInstance _gradientCircleShader;
private readonly ShaderInstance? _glowingBorderShader;
public CritOverlay()
{

View File

@@ -21,7 +21,6 @@ namespace Content.Server.Cloning
public readonly Dictionary<Mind.Mind, int> MindToId = new();
public readonly Dictionary<int, ClonerDNAEntry> IdToDNA = new();
private int _nextAllocatedMindId = 0;
private float _quickAndDirtyUserUpdatePreventerTimer = 0.0f;
public readonly Dictionary<Mind.Mind, EntityUid> ClonesWaitingForMind = new();
public override void Initialize()

View File

@@ -70,8 +70,6 @@ namespace Content.Server.Singularity.Components
[ViewVariables(VVAccess.ReadWrite)]
public bool BeingDeletedByAnotherSingularity { get; set; }
private IPlayingAudioStream? _playingSound;
[DataField("singularityFormingSound")] private SoundSpecifier _singularityFormingSound = new SoundPathSpecifier("/Audio/Effects/singularity_form.ogg");
[DataField("singularityCollapsingSound")] private SoundSpecifier _singularityCollapsingSound = new SoundPathSpecifier("/Audio/Effects/singularity_collapse.ogg");
@@ -97,7 +95,6 @@ namespace Content.Server.Singularity.Components
protected override void OnRemove()
{
_playingSound?.Stop();
SoundSystem.Play(Filter.Pvs(Owner), _singularityCollapsingSound.GetSound(), Owner.Transform.Coordinates);
base.OnRemove();
}

View File

@@ -48,9 +48,6 @@ namespace Content.Server.Weapon.Ranged.Barrels.Components
public override FireRateSelector AllRateSelectors => _fireRateSelector;
[DataField("allSelectors")]
private FireRateSelector _allRateSelectors;
[DataField("fireRate")]
public override float FireRate { get; } = 2f;