Ignore missing components that end with "Visuals" (#9613)

Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
wrexbe
2022-08-08 01:50:54 -07:00
committed by GitHub
parent 3bff5d550b
commit 2c13a2c93c
2 changed files with 1 additions and 23 deletions

View File

@@ -53,6 +53,7 @@ namespace Content.Server.Entry
var prototypes = IoCManager.Resolve<IPrototypeManager>(); var prototypes = IoCManager.Resolve<IPrototypeManager>();
factory.DoAutoRegistrations(); factory.DoAutoRegistrations();
factory.IgnoreMissingComponents("Visuals");
foreach (var ignoreName in IgnoredComponents.List) foreach (var ignoreName in IgnoredComponents.List)
{ {

View File

@@ -6,40 +6,17 @@ namespace Content.Server.Entry
public static string[] List => new[] { public static string[] List => new[] {
"ConstructionGhost", "ConstructionGhost",
"IconSmooth", "IconSmooth",
"StasisBedVisuals",
"InteractionOutline", "InteractionOutline",
"MeleeWeaponArcAnimation", "MeleeWeaponArcAnimation",
"EffectVisuals",
"DamageStateVisuals",
"PortableScrubberVisuals",
"AnimationsTest", "AnimationsTest",
"ItemStatus", "ItemStatus",
"VehicleVisuals",
"Marker", "Marker",
"Clickable", "Clickable",
"Icon", "Icon",
"ClientEntitySpawner", "ClientEntitySpawner",
"CharacterInfo", "CharacterInfo",
"ItemCabinetVisuals",
"LatheVisuals",
"DiseaseMachineVisuals",
"HandheldGPS", "HandheldGPS",
"SpentAmmoVisuals",
"MagazineVisuals",
"SolutionContainerVisuals",
"PowerCellVisuals",
"ToggleableLightVisuals",
"CableVisualizer", "CableVisualizer",
"PotencyVisuals",
"PaperVisuals",
"SurveillanceCameraVisuals",
"KudzuVisuals",
"AMEControllerVisuals",
"AMEShieldingVisuals",
"PipeColorVisuals",
"FireVisuals",
"CrematoriumVisuals",
"PlantHolderVisuals",
}; };
} }
} }