From 2c13a2c93cdfaaca9fe6b6db27ba8139acbf716a Mon Sep 17 00:00:00 2001 From: wrexbe <81056464+wrexbe@users.noreply.github.com> Date: Mon, 8 Aug 2022 01:50:54 -0700 Subject: [PATCH] Ignore missing components that end with "Visuals" (#9613) Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Co-authored-by: metalgearsloth --- Content.Server/Entry/EntryPoint.cs | 1 + Content.Server/Entry/IgnoredComponents.cs | 23 ----------------------- 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/Content.Server/Entry/EntryPoint.cs b/Content.Server/Entry/EntryPoint.cs index 1e6713d315..176ec1add3 100644 --- a/Content.Server/Entry/EntryPoint.cs +++ b/Content.Server/Entry/EntryPoint.cs @@ -53,6 +53,7 @@ namespace Content.Server.Entry var prototypes = IoCManager.Resolve(); factory.DoAutoRegistrations(); + factory.IgnoreMissingComponents("Visuals"); foreach (var ignoreName in IgnoredComponents.List) { diff --git a/Content.Server/Entry/IgnoredComponents.cs b/Content.Server/Entry/IgnoredComponents.cs index e9238f295c..4dd499b52a 100644 --- a/Content.Server/Entry/IgnoredComponents.cs +++ b/Content.Server/Entry/IgnoredComponents.cs @@ -6,40 +6,17 @@ namespace Content.Server.Entry public static string[] List => new[] { "ConstructionGhost", "IconSmooth", - "StasisBedVisuals", "InteractionOutline", "MeleeWeaponArcAnimation", - "EffectVisuals", - "DamageStateVisuals", - "PortableScrubberVisuals", "AnimationsTest", "ItemStatus", - "VehicleVisuals", "Marker", "Clickable", "Icon", "ClientEntitySpawner", "CharacterInfo", - "ItemCabinetVisuals", - "LatheVisuals", - "DiseaseMachineVisuals", "HandheldGPS", - "SpentAmmoVisuals", - "MagazineVisuals", - "SolutionContainerVisuals", - "PowerCellVisuals", - "ToggleableLightVisuals", "CableVisualizer", - "PotencyVisuals", - "PaperVisuals", - "SurveillanceCameraVisuals", - "KudzuVisuals", - "AMEControllerVisuals", - "AMEShieldingVisuals", - "PipeColorVisuals", - "FireVisuals", - "CrematoriumVisuals", - "PlantHolderVisuals", }; } }