diff --git a/Content.Client/Flash/FlashSystem.cs b/Content.Client/Flash/FlashSystem.cs index 9cdfd61e03..3393662fa4 100644 --- a/Content.Client/Flash/FlashSystem.cs +++ b/Content.Client/Flash/FlashSystem.cs @@ -1,9 +1,7 @@ using Content.Shared.Flash; using Robust.Client.Graphics; using Robust.Client.Player; -using Robust.Shared.GameObjects; using Robust.Shared.GameStates; -using Robust.Shared.IoC; using Robust.Shared.Timing; namespace Content.Client.Flash diff --git a/Content.Client/Flash/FlashableComponent.cs b/Content.Client/Flash/FlashableComponent.cs deleted file mode 100644 index 714d2d7c1c..0000000000 --- a/Content.Client/Flash/FlashableComponent.cs +++ /dev/null @@ -1,12 +0,0 @@ -using Content.Shared.Flash; -using Robust.Shared.Analyzers; -using Robust.Shared.GameObjects; - -namespace Content.Client.Flash -{ - [ComponentReference(typeof(SharedFlashableComponent))] - [RegisterComponent, Access(typeof(FlashSystem))] - public sealed class FlashableComponent : SharedFlashableComponent - { - } -} diff --git a/Content.Client/Humanoid/HumanoidComponent.cs b/Content.Client/Humanoid/HumanoidComponent.cs deleted file mode 100644 index d433013c9d..0000000000 --- a/Content.Client/Humanoid/HumanoidComponent.cs +++ /dev/null @@ -1,15 +0,0 @@ -using Content.Shared.Humanoid; -using Content.Shared.Humanoid.Markings; -using Content.Shared.Humanoid.Prototypes; - -namespace Content.Client.Humanoid; - -[RegisterComponent] -public sealed class HumanoidComponent : SharedHumanoidComponent -{ - [ViewVariables] public List CurrentMarkings = new(); - - public Dictionary BaseLayers = new(); - - public string LastSpecies = default!; -} diff --git a/Content.Client/Humanoid/HumanoidVisualizerSystem.cs b/Content.Client/Humanoid/HumanoidVisualizerSystem.cs index 808a5a1ba7..5539ec27d1 100644 --- a/Content.Client/Humanoid/HumanoidVisualizerSystem.cs +++ b/Content.Client/Humanoid/HumanoidVisualizerSystem.cs @@ -108,23 +108,23 @@ public sealed class HumanoidVisualizerSystem : VisualizerSystem(); - var dirtyRangeStart = humanoid.CurrentMarkings.Count == 0 ? 0 : -1; + var dirtyRangeStart = humanoid.CurrentClientMarkings.Count == 0 ? 0 : -1; // edge cases: - // humanoid.CurrentMarkings < newMarkings.Count + // humanoid.CurrentClientMarkings < newMarkings.Count // - check if count matches this condition before diffing - // - if count is unequal, set dirty range to start from humanoid.CurrentMarkings.Count - // humanoid.CurrentMarkings > newMarkings.Count, no dirty markings + // - if count is unequal, set dirty range to start from humanoid.CurrentClientMarkings.Count + // humanoid.CurrentClientMarkings > newMarkings.Count, no dirty markings // - break count upon meeting this condition - // - clear markings from newMarkings.Count to humanoid.CurrentMarkings.Count - newMarkings.Count + // - clear markings from newMarkings.Count to humanoid.CurrentClientMarkings.Count - newMarkings.Count - for (var i = 0; i < humanoid.CurrentMarkings.Count; i++) + for (var i = 0; i < humanoid.CurrentClientMarkings.Count; i++) { // if we've reached the end of the new set of markings, // then that means it's time to finish @@ -135,7 +135,7 @@ public sealed class HumanoidVisualizerSystem : VisualizerSystem