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>();
factory.DoAutoRegistrations();
factory.IgnoreMissingComponents("Visuals");
foreach (var ignoreName in IgnoredComponents.List)
{

View File

@@ -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",
};
}
}